From 47f8a6dd9ebb1d7e7595215186db18522f4ea0de Mon Sep 17 00:00:00 2001 From: mensonge Date: Wed, 23 Jan 2008 14:47:35 +0000 Subject: interface bug fix: alltags page doesn't display the complete tree for a user git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@23 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/sidebar.block.linked.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/sidebar.block.linked.php') diff --git a/templates/sidebar.block.linked.php b/templates/sidebar.block.linked.php index 7bbde81..24ca7e6 100644 --- a/templates/sidebar.block.linked.php +++ b/templates/sidebar.block.linked.php @@ -25,7 +25,7 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode $output.= ''; if(!in_array($tag, $stopList)) { - $linkedTags = $tag2tagservice->getLinkedTags($tag, '>', $userid); + $linkedTags = $tag2tagservice->getLinkedTags($tag, '>', $uId); $precedentTag = $tag; $stopList[] = $tag; $level = $level + 1; @@ -45,10 +45,10 @@ $explodedTags = array(); if ($currenttag) { $explodedTags = explode('+', $currenttag); } else { - if($userid != null) { - $orphewTags = $tag2tagservice->getOrphewTags('>', $userid); - } else { + if($summarizeLinkedTags == true) { $orphewTags = $tag2tagservice->getOrphewTags('>', $userid, 4, "nb"); + } else { + $orphewTags = $tag2tagservice->getOrphewTags('>', $userid); } foreach($orphewTags as $orphewTag) { -- cgit v1.2.3