diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 63af790bc..0344195b2 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -116,7 +116,7 @@ function theme_blocks($region, &$theme) { global $id, $PHP_SELF, $user; $result = db_query("SELECT * FROM blocks WHERE (status = '1' OR custom = '1') ". ($region != "all" ? "AND region = '%s' " : "") ."ORDER BY weight, name", $region == "left" ? 0 : 1); - + while ($result && ($block = db_fetch_object($result))) { if (($block->status && (!$user->uid || !$block->custom)) || ($block->custom && $user->block[$block->name])) { $blocks = module_invoke($block->module, "block"); |