diff options
Diffstat (limited to 'www/ajax')
-rw-r--r-- | www/ajax/getadminlinkedtags.php | 2 | ||||
-rw-r--r-- | www/ajax/getlinkedtags.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/ajax/getadminlinkedtags.php b/www/ajax/getadminlinkedtags.php index 0a5d813..2b1c3ac 100644 --- a/www/ajax/getadminlinkedtags.php +++ b/www/ajax/getadminlinkedtags.php @@ -57,7 +57,7 @@ function displayTag($tag, $uId) { { label: 'name', identifier: 'id', items: [ <?php -$json = displayTag(GET_TAG, GET_UID); +$json = displayTag(GET_TAG, intval(GET_UID)); $json = substr($json, 0, -1); // remove final comma avoiding IE6 Dojo bug echo $json; ?> diff --git a/www/ajax/getlinkedtags.php b/www/ajax/getlinkedtags.php index 9415f87..621d1c4 100644 --- a/www/ajax/getlinkedtags.php +++ b/www/ajax/getlinkedtags.php @@ -57,7 +57,7 @@ function displayTag($tag, $uId) { { label: 'name', identifier: 'id', items: [ <?php -$json = displayTag(GET_TAG, GET_UID); +$json = displayTag(GET_TAG, intval(GET_UID)); $json = substr($json, 0, -1); // remove final comma avoiding IE6 Dojo bug echo $json; ?> |