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:
parent
db1dfcbff9
commit
0fef208b70
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue