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, 2 insertions, 1 deletions
diff --git a/templates/sidebar.block.related.php b/templates/sidebar.block.related.php
index 81336f9..31c817a 100644
--- a/templates/sidebar.block.related.php
+++ b/templates/sidebar.block.related.php
@@ -1,6 +1,7 @@
<?php
+/* Service creation: only useful services are created */
$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService');
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+
if(!isset($user)) $user="";