summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.related.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-27 07:27:36 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-27 07:27:36 +0000
commit1958ddd8e1e74ef00849c78782656c0ba2995f07 (patch)
tree7ddf2f4c806a8ff038ed8b8f5588d2188726e289 /templates/sidebar.block.related.php
parentdf984f26669e0e3bfd6ede23e5bddfae8fd695ea (diff)
downloadsemanticscuttle-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.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;