From: Robert Wetzlmayr Date: Tue, 12 Nov 2013 12:46:56 +0000 (+0100) Subject: getFeedArticles(): Use valid query to get count of matching articles. X-Git-Tag: 1.11~23^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=60168a8d9ad5882cd45e90821dfa86d10ae18fd9;p=tt-rss.git getFeedArticles(): Use valid query to get count of matching articles. --- 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