summaryrefslogtreecommitdiffstats
path: root/bl/feedbl.php
diff options
context:
space:
mode:
Diffstat (limited to 'bl/feedbl.php')
-rw-r--r--bl/feedbl.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/bl/feedbl.php b/bl/feedbl.php
index 9af4d6198..a77f9bdd2 100644
--- a/bl/feedbl.php
+++ b/bl/feedbl.php
@@ -77,6 +77,9 @@ class FeedBl extends Bl {
$this->itemMapper->insert($item);
}
+ // set unread count
+ $feed->setUnreadCount(count($items));
+
return $feed;
} catch(FetcherException $ex){
$this->api->log($ex->getMessage());