getCategoryUnread: properly calculate counts for cat -1
This commit is contained in:
parent
a545dc31a4
commit
59e15af458
|
@ -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, "
|
||||
|
|
Loading…
Reference in New Issue