From 3f052187154896350cbbac10d8df53a0fc7efaee Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 8 Mar 2005 23:24:10 +0000 Subject: [PATCH] In blocks_print_group, if we just return if pageblocks are empty, we never get to print the admin block --- lib/blocklib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blocklib.php b/lib/blocklib.php index a9e00eaa8c5..133fca67129 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -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();