summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-30 06:54:37 +0100
committerAndrew Dolgov <[email protected]>2007-05-30 06:54:37 +0100
commit0239683783b6e4ddf793e08b56beaf4877d751e7 (patch)
tree0f1c48e4cc03b8d42d00dd5b5cfb6521d34269ba /functions.php
parent910cca8bb86bb10308ed1d3422cb801e0aa2435a (diff)
get_article_tags: subquery fix (closes #132)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
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();