diff options
Diffstat (limited to 'templates/sidebar.block.popular.php')
-rw-r--r-- | templates/sidebar.block.popular.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/sidebar.block.popular.php b/templates/sidebar.block.popular.php index b9c029f..4279620 100644 --- a/templates/sidebar.block.popular.php +++ b/templates/sidebar.block.popular.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 = ''; |