summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 67990a2a9..1a76c4f6b 100644
--- a/backend.php
+++ b/backend.php
@@ -321,7 +321,12 @@
print "<vgroup-last-feed value=\"$vgroup_last_feed\"/>";
$headlines_unread = ccache_find($link, $returned_feed, $_SESSION["uid"],
- $cat_view);
+ $cat_view, true);
+
+ if ($headlines_unread == -1) {
+ $headlines_unread = getFeedUnread($link, $returned_feed, $cat_view);
+
+ }
print "<headlines-unread value=\"$headlines_unread\"/>";
printf("<disable-cache value=\"%d\"/>", $disable_cache);