diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 7b9d58055..d35a75d76 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -78,13 +78,13 @@ function theme_account($region, $theme) { } function theme_blocks($region, $theme) { - global $id, $PHP_SELF, $status, $user; + global $id, $PHP_SELF, $user; switch (strrchr($PHP_SELF, "/")) { case "/node.php": if ($region != "left") { if ($user->uid) $node = db_fetch_object(db_query("SELECT * FROM node WHERE nid = '$id'")); - if ($node->status == $status[queued]) theme_moderation_results($theme, $node, $region); + if ($node->status == node_status("queued")) theme_moderation_results($theme, $node, $region); } break; case "/index.php": |