From 5f4f2766ea7607b9cf1535e6bbfe2bedfdac8701 Mon Sep 17 00:00:00 2001 From: mensonge Date: Wed, 4 Jun 2008 16:11:21 +0000 Subject: [PATCH] Bug fix: correct recent box git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@136 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/sidebar.block.recent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sidebar.block.recent.php b/templates/sidebar.block.recent.php index cc04b97..a128e70 100644 --- a/templates/sidebar.block.recent.php +++ b/templates/sidebar.block.recent.php @@ -3,7 +3,7 @@ $b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService'); $userservice =& ServiceFactory::getServiceInstance('UserService'); /* Manage input */ -$userid = isset($userid)?$userid:0; +$userid = isset($userid)?$userid:NULL; $logged_on_userid = $userservice->getCurrentUserId(); if ($logged_on_userid === false) {