From 59e15af4589137bcb32f486fe5ad56f48518d4e9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 29 Dec 2009 16:28:10 +0300 Subject: [PATCH] getCategoryUnread: properly calculate counts for cat -1 --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 6621b361e..1e73dcc85 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, "