aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.menu2.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-30 19:32:15 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-30 19:32:15 +0000
commitcf213449b1f51df0a0477bb102d5d73042b980a2 (patch)
treef5d6399105dbabd3257ff70d3305ada0e43391fe /templates/sidebar.block.menu2.php
parente0949aa0adfdfee4f78733277ff43d850ef3582e (diff)
downloadsemanticscuttle-cf213449b1f51df0a0477bb102d5d73042b980a2.tar.gz
semanticscuttle-cf213449b1f51df0a0477bb102d5d73042b980a2.tar.bz2
Minor fix: correct menu boxes and tag normalization
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@180 b3834d28-1941-0410-a4f8-b48e95affb8f
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) {
?>