diff options
| author | Andrew Dolgov <fox@bah.org.ru> | 2009-12-29 16:28:10 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.org.ru> | 2009-12-29 16:28:10 +0300 |
| commit | 59e15af4589137bcb32f486fe5ad56f48518d4e9 (patch) | |
| tree | c176fb040dfdb796df0e22339e8f0143f650a02b | |
| parent | a545dc31a403ef6130f78f089441bc06f33d2ed3 (diff) | |
getCategoryUnread: properly calculate counts for cat -1
| -rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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, " |