summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-02-21 08:11:51 +0100
committerAndrew Dolgov <[email protected]>2007-02-21 08:11:51 +0100
commit93135102c111bb15e85fd7e463be2e8581d79bbf (patch)
tree4e299e7c0dbcdc65353da699ae06ed7443340a35
parent5a45a27607b5bcacd290b06c04a96077faa087b3 (diff)
get_article_tags: handle multiple ref_ids
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 5dea05561..f6081b164 100644
--- a/functions.php
+++ b/functions.php
@@ -3141,7 +3141,7 @@
$tmp_result = db_query($link, "SELECT DISTINCT tag_name FROM
ttrss_tags WHERE post_int_id = (SELECT int_id FROM ttrss_user_entries WHERE
- ref_id = '$a_id' AND owner_uid = '".$_SESSION["uid"]."') ORDER BY tag_name");
+ ref_id = '$a_id' AND owner_uid = '".$_SESSION["uid"]."' LIMIT 1) ORDER BY tag_name");
$tags = array();