aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Category.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Category.php')
-rw-r--r--app/Models/Category.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Category.php b/app/Models/Category.php
index 230431311..1f5b4dc61 100644
--- a/app/Models/Category.php
+++ b/app/Models/Category.php
@@ -40,7 +40,7 @@ class FreshRSS_Category extends Minz_Model {
$feed->_category($this);
$this->nbFeeds++;
$this->nbNotRead += $feed->nbNotRead();
- $this->hasFeedsWithError |= $feed->inError();
+ $this->hasFeedsWithError |= ($feed->inError() && !$feed->mute());
}
}
}
@@ -108,7 +108,7 @@ class FreshRSS_Category extends Minz_Model {
foreach ($this->feeds as $feed) {
$this->nbFeeds++;
$this->nbNotRead += $feed->nbNotRead();
- $this->hasFeedsWithError |= $feed->inError();
+ $this->hasFeedsWithError |= ($feed->inError() && !$feed->mute());
}
$this->sortFeeds();