summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-11-12 08:44:16 -0800
committerAndrew Dolgov <[email protected]>2013-11-12 08:44:16 -0800
commit8384af6cc19979cd47279e914fb992fc7e25e6cd (patch)
tree1fa131a2cd9da1b4ae7027251e5f7fd14828eec8
parent0c7e49936acc3e96b09364c02b7cbabe6043e950 (diff)
parent60168a8d9ad5882cd45e90821dfa86d10ae18fd9 (diff)
Merge pull request #326 from rwetzlmayr/fixes
getFeedArticles(): Use valid query to get count of matching articles.
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 38ccfe8ac..ba2e90bd4 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