mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:25:56 +00:00
getFeedArticles(): Use valid query to get count of matching articles.
This commit is contained in:
@@ -1458,6 +1458,7 @@
|
|||||||
$from_where = "ttrss_entries.id = ttrss_user_entries.ref_id AND";
|
$from_where = "ttrss_entries.id = ttrss_user_entries.ref_id AND";
|
||||||
} else {
|
} else {
|
||||||
$from_qpart = "ttrss_user_entries";
|
$from_qpart = "ttrss_user_entries";
|
||||||
|
$from_where = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = "SELECT count(int_id) AS unread
|
$query = "SELECT count(int_id) AS unread
|
||||||
|
|||||||
Reference in New Issue
Block a user