summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag')
-rw-r--r--modules/tag/helpers/tag_theme.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/tag/helpers/tag_theme.php b/modules/tag/helpers/tag_theme.php
index 7a014d24..8f6b780a 100644
--- a/modules/tag/helpers/tag_theme.php
+++ b/modules/tag/helpers/tag_theme.php
@@ -24,6 +24,11 @@ class tag_theme_Core {
}
static function sidebar_blocks($theme) {
+ // @todo this needs to be data driven
+ if (!$theme->item()) {
+ return;
+ }
+
$block = new Block();
$block->css_id = "gTag";
$block->title = t("Popular Tags");