summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.related.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.block.related.php')
-rw-r--r--templates/sidebar.block.related.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/sidebar.block.related.php b/templates/sidebar.block.related.php
index 88d42d6..81336f9 100644
--- a/templates/sidebar.block.related.php
+++ b/templates/sidebar.block.related.php
@@ -2,6 +2,9 @@
$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService');
$userservice =& ServiceFactory::getServiceInstance('UserService');
+if(!isset($user)) $user="";
+
+
$logged_on_userid = $userservice->getCurrentUserId();
if ($logged_on_userid === false) {
$logged_on_userid = NULL;