getCategoryUnread: don't return unread counters for Special category because it doesn't make a lot of sense to do so

master
Andrew Dolgov 5 years ago
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…
Cancel
Save