summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.menu2.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.block.menu2.php')
-rw-r--r--templates/sidebar.block.menu2.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/sidebar.block.menu2.php b/templates/sidebar.block.menu2.php
index 9b660fa..a47b948 100644
--- a/templates/sidebar.block.menu2.php
+++ b/templates/sidebar.block.menu2.php
@@ -14,11 +14,12 @@ if ($logged_on_userid === false) {
$logged_on_userid = NULL;
}
-if(!isset($user)) {
+if(!isset($user) || $user == '') {
$cat_url = createURL('tags', '%2$s');
}
$menu2Tags = $GLOBALS['menu2Tags'];
+
if (sizeOf($menu2Tags) > 0) {
?>