Bug fix: don't look for users in related tags box if not existing

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@66 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2008-03-12 09:17:13 +00:00
parent db1dfcbff9
commit 0fef208b70

View file

@ -6,6 +6,9 @@ $logged_on_userid = $userservice->getCurrentUserId();
if ($logged_on_userid === false) {
$logged_on_userid = NULL;
}
if(strlen($user)==0) {
$cat_url = createURL('tags', '%2$s');
}
if ($currenttag) {
$relatedTags = $tagservice->getRelatedTags($currenttag, $userid, $logged_on_userid);
if (sizeof($relatedTags) > 0) {
@ -26,4 +29,4 @@ if ($currenttag) {
<?php
}
}
?>
?>