From 60168a8d9ad5882cd45e90821dfa86d10ae18fd9 Mon Sep 17 00:00:00 2001 From: Robert Wetzlmayr Date: Tue, 12 Nov 2013 13:46:56 +0100 Subject: [PATCH] getFeedArticles(): Use valid query to get count of matching articles. --- include/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions.php b/include/functions.php index 38ccfe8a..ba2e90bd 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1458,6 +1458,7 @@ $from_where = "ttrss_entries.id = ttrss_user_entries.ref_id AND"; } else { $from_qpart = "ttrss_user_entries"; + $from_where = ""; } $query = "SELECT count(int_id) AS unread -- 2.39.2