summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-10-16 11:51:03 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-10-16 11:51:03 +0000
commit2ec1512419549fa48fb9925b8cd31e239864769d (patch)
treee66c3b27c8e4302e851461a96d3e95ad79da2368
parent8542e2a3f7f0fd542a79908a7cd9f718a38e7d9e (diff)
downloadbrdo-2ec1512419549fa48fb9925b8cd31e239864769d.tar.gz
brdo-2ec1512419549fa48fb9925b8cd31e239864769d.tar.bz2
- blocks will now show up again if 'Enabled: always'
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index ac6b5cf86..4d0e3b017 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -103,7 +103,7 @@ function theme_blocks($region, &$theme) {
else $result = db_query("SELECT * FROM blocks WHERE status = 2". (($region == "left" OR $region == "right") ? ($region == "left" ? " AND region = 0" : " AND region = 1") : "") ." ORDER BY weight");
while ($result && ($block = db_fetch_object($result))) {
$blocks = module_invoke($block->module, "block");
- if ($blocks[$block->offset]["content"])
+ if ($blocks[$block->delta]["content"])
$theme->box(t($blocks[$block->delta]["subject"]), $blocks[$block->delta]["content"], $region);
}
break;