1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-21 11:26:38 +02:00

Merge pull request #326 from rwetzlmayr/fixes

getFeedArticles(): Use valid query to get count of matching articles.
This commit is contained in:
Andrew Dolgov 2013-11-12 08:44:16 -08:00
commit 8384af6cc1

View File

@ -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