aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.recent.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.block.recent.php')
-rw-r--r--templates/sidebar.block.recent.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/sidebar.block.recent.php b/templates/sidebar.block.recent.php
index e720533..cc04b97 100644
--- a/templates/sidebar.block.recent.php
+++ b/templates/sidebar.block.recent.php
@@ -2,6 +2,9 @@
$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService');
$userservice =& ServiceFactory::getServiceInstance('UserService');
+/* Manage input */
+$userid = isset($userid)?$userid:0;
+
$logged_on_userid = $userservice->getCurrentUserId();
if ($logged_on_userid === false) {
$logged_on_userid = NULL;