From 93135102c111bb15e85fd7e463be2e8581d79bbf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Feb 2007 08:11:51 +0100 Subject: [PATCH] get_article_tags: handle multiple ref_ids --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 5dea0556..f6081b16 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(); -- 2.39.5