aboutsummaryrefslogtreecommitdiff
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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sidebar.block.related.php b/templates/sidebar.block.related.php
index fd305a6..380c789 100644
--- a/templates/sidebar.block.related.php
+++ b/templates/sidebar.block.related.php
@@ -1,5 +1,5 @@
<?php
-$tagservice =& ServiceFactory::getServiceInstance('TagService');
+$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService');
$userservice =& ServiceFactory::getServiceInstance('UserService');
$logged_on_userid = $userservice->getCurrentUserId();
@@ -10,7 +10,7 @@ if(strlen($user)==0) {
$cat_url = createURL('tags', '%2$s');
}
if ($currenttag) {
- $relatedTags = $tagservice->getRelatedTags($currenttag, $userid, $logged_on_userid);
+ $relatedTags = $b2tservice->getRelatedTags($currenttag, $userid, $logged_on_userid);
if (sizeof($relatedTags) > 0) {
?>