mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-05 06:11: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;
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user