diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-27 07:27:36 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-27 07:27:36 +0000 |
commit | 1958ddd8e1e74ef00849c78782656c0ba2995f07 (patch) | |
tree | 7ddf2f4c806a8ff038ed8b8f5588d2188726e289 /templates/sidebar.block.related.php | |
parent | df984f26669e0e3bfd6ede23e5bddfae8fd695ea (diff) | |
download | semanticscuttle-1958ddd8e1e74ef00849c78782656c0ba2995f07.tar.gz semanticscuttle-1958ddd8e1e74ef00849c78782656c0ba2995f07.tar.bz2 |
Minor fix: improve import from Netscape files (taking tags into account)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@176 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.block.related.php')
-rw-r--r-- | templates/sidebar.block.related.php | 3 |
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; |