diff options
author | Andrew Dolgov <[email protected]> | 2007-05-30 06:54:37 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-30 06:54:37 +0100 |
commit | 0239683783b6e4ddf793e08b56beaf4877d751e7 (patch) | |
tree | 0f1c48e4cc03b8d42d00dd5b5cfb6521d34269ba /functions.php | |
parent | 910cca8bb86bb10308ed1d3422cb801e0aa2435a (diff) |
get_article_tags: subquery fix (closes #132)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 308ae748a..841045bb7 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(); |