aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/menubar.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index aa3f490ca..56a597e2d 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -163,7 +163,7 @@ if ('tags' == $page['section'])
}
//---------------------------------------------------------- special categories
// favorites categories
-if ( !$user['is_the_guest'] )
+if ( !is_a_guest() )
{
$template->assign_block_vars('username', array());
@@ -242,7 +242,7 @@ $template->assign_block_vars(
);
//--------------------------------------------------------------------- summary
-if ($user['is_the_guest'])
+if (is_a_guest())
{
$template->assign_block_vars('login', array());