aboutsummaryrefslogtreecommitdiff
path: root/ajax
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-06 16:39:02 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-06 16:39:02 +0000
commit829d5327decb7ac53dc55fef99a2acd8ccccd834 (patch)
treee4764fc9535b0d06ad3797ffa0a6199d80b08398 /ajax
parent26c2792d60d4368213b479e91080644f04c07b4f (diff)
downloadsemanticscuttle-829d5327decb7ac53dc55fef99a2acd8ccccd834.tar.gz
semanticscuttle-829d5327decb7ac53dc55fef99a2acd8ccccd834.tar.bz2
Interface fix: use DOJO hierarchy in linked tags box
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@216 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'ajax')
-rw-r--r--ajax/getlinkedtags.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/ajax/getlinkedtags.php b/ajax/getlinkedtags.php
index 24d00fc..c4110a2 100644
--- a/ajax/getlinkedtags.php
+++ b/ajax/getlinkedtags.php
@@ -34,6 +34,8 @@ isset($_GET['uId']) ? define('GET_UID', $_GET['uId']): define('GET_UID', '');
function displayTag($tag, $uId) {
+ $uId = ($uId==0)?NULL:$uId; // if user is nobody, NULL allows to look for every public tags
+
$tag2tagservice =& ServiceFactory::getServiceInstance('Tag2TagService');
$output = '{ id:'.rand().', name:\''.$tag.'\'';