From: Andrew Dolgov Date: Tue, 29 Dec 2009 13:28:10 +0000 (+0300) Subject: getCategoryUnread: properly calculate counts for cat -1 X-Git-Tag: 1.4.0~119 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=59e15af4589137bcb32f486fe5ad56f48518d4e9;p=tt-rss.git getCategoryUnread: properly calculate counts for cat -1 --- diff --git a/functions.php b/functions.php index 6621b361..1e73dcc8 100644 --- a/functions.php +++ b/functions.php @@ -2397,7 +2397,7 @@ return $unread; } else if ($cat == -1) { - return getFeedUnread($link, -1) + getFeedUnread($link, -2) + getFeedUnread($link, -3); + return getFeedUnread($link, -1) + getFeedUnread($link, -2) + getFeedUnread($link, -3) + getFeedUnread($link, 0); } else if ($cat == -2) { $result = db_query($link, "