From 829d5327decb7ac53dc55fef99a2acd8ccccd834 Mon Sep 17 00:00:00 2001 From: mensonge Date: Tue, 6 Jan 2009 16:39:02 +0000 Subject: 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 --- ajax/getlinkedtags.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ajax') 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.'\''; -- cgit v1.2.3-54-g00ecf