From: Andrew Dolgov Date: Wed, 30 May 2007 05:54:37 +0000 (+0100) Subject: get_article_tags: subquery fix (closes #132) X-Git-Tag: 1.2.12~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0239683783b6e4ddf793e08b56beaf4877d751e7;p=tt-rss.git get_article_tags: subquery fix (closes #132) --- diff --git a/functions.php b/functions.php index 308ae748..841045bb 100644 --- a/functions.php +++ b/functions.php @@ -3365,7 +3365,7 @@ $tmp_result = db_query($link, "SELECT DISTINCT tag_name, owner_uid as owner FROM ttrss_tags WHERE post_int_id = (SELECT int_id FROM ttrss_user_entries WHERE - ref_id = '$a_id') ORDER BY tag_name"); + ref_id = '$a_id' LIMIT 1) ORDER BY tag_name"); $tags = array();