getFeedArticles(): Use valid query to get count of matching articles.
This commit is contained in:
parent
0c7e49936a
commit
60168a8d9a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue