getFeedUnread: fix for tags

This commit is contained in:
Andrew Dolgov 2007-08-29 15:37:30 +01:00
parent 4764c27ef8
commit 828f22b7eb
1 changed files with 1 additions and 1 deletions

View File

@ -2115,7 +2115,7 @@
$result = db_query($link, "SELECT COUNT(post_int_id) AS unread $result = db_query($link, "SELECT COUNT(post_int_id) AS unread
FROM ttrss_tags,ttrss_user_entries,ttrss_entries FROM ttrss_tags,ttrss_user_entries,ttrss_entries
WHERE tag_name = '$feed' AND post_int_id = int_id AND ref_id = id WHERE tag_name = '$feed' AND post_int_id = int_id AND ref_id = ttrss_entries.id
AND unread = true AND $age_qpart AND AND unread = true AND $age_qpart AND
ttrss_tags.owner_uid = " . $_SESSION["uid"]); ttrss_tags.owner_uid = " . $_SESSION["uid"]);
} }