get_article_tags: handle multiple ref_ids

This commit is contained in:
Andrew Dolgov 2007-02-21 08:11:51 +01:00
parent 5a45a27607
commit 93135102c1
1 changed files with 1 additions and 1 deletions

View File

@ -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();