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…
Reference in New Issue