mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-02 12:51:00 +01: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:
parent
6f625aa8aa
commit
a64b8a7fdb
@ -1330,7 +1330,7 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
return $unread;
|
||||
} else if ($cat == -1) {
|
||||
return getFeedUnread(-1) + getFeedUnread(-2) + getFeedUnread(-3) + getFeedUnread(0);
|
||||
return 0;
|
||||
} else if ($cat == -2) {
|
||||
|
||||
$sth = $pdo->prepare("SELECT COUNT(unread) AS unread FROM
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user