get_article_tags: subquery fix (closes #132)

This commit is contained in:
Andrew Dolgov 2007-05-30 06:54:37 +01:00
parent 910cca8bb8
commit 0239683783
1 changed files with 1 additions and 1 deletions

View File

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