mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 04:31:28 +00:00
getCategoryUnread: don't return unread counters for Special category because it doesn't make a lot of sense to do so
This commit is contained in:
@@ -1330,7 +1330,7 @@ class Feeds extends Handler_Protected {
|
|||||||
|
|
||||||
return $unread;
|
return $unread;
|
||||||
} else if ($cat == -1) {
|
} else if ($cat == -1) {
|
||||||
return getFeedUnread(-1) + getFeedUnread(-2) + getFeedUnread(-3) + getFeedUnread(0);
|
return 0;
|
||||||
} else if ($cat == -2) {
|
} else if ($cat == -2) {
|
||||||
|
|
||||||
$sth = $pdo->prepare("SELECT COUNT(unread) AS unread FROM
|
$sth = $pdo->prepare("SELECT COUNT(unread) AS unread FROM
|
||||||
|
|||||||
Reference in New Issue
Block a user