Er, print the adminblock only if editing is turned on.

This commit is contained in:
defacer
2005-03-02 05:57:50 +00:00
parent dffd4bb948
commit 831cd87f77
+1 -1
View File
@@ -251,7 +251,7 @@ function blocks_print_group(&$page, &$pageblocks, $position) {
}
}
if($page->blocks_default_position() == $position) {
if($page->blocks_default_position() == $position && $page->user_is_editing()) {
blocks_print_adminblock($page, $pageblocks);
}