In blocks_print_group, if we just return if pageblocks are empty, we never get to print the admin block
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ function blocks_have_content(&$pageblocks, $position) {
|
||||
function blocks_print_group(&$page, &$pageblocks, $position) {
|
||||
|
||||
if(empty($pageblocks[$position])) {
|
||||
return;
|
||||
$pageblocks[$position] = array();
|
||||
}
|
||||
|
||||
$isediting = $page->user_is_editing();
|
||||
|
||||
Reference in New Issue
Block a user