From 828f22b7ebc99fb0b375166643556e695dcaf91f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 29 Aug 2007 15:37:30 +0100 Subject: getFeedUnread: fix for tags --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index ba0fd6b1d..d37f4bdf4 100644 --- a/functions.php +++ b/functions.php @@ -2115,7 +2115,7 @@ $result = db_query($link, "SELECT COUNT(post_int_id) AS unread 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 ttrss_tags.owner_uid = " . $_SESSION["uid"]); } -- cgit v1.2.3