diff options
| author | 2024-02-21 09:46:47 +0100 | |
|---|---|---|
| committer | 2024-02-21 09:46:47 +0100 | |
| commit | 3eb3574b1328a4172142a50b2a344413b7910d44 (patch) | |
| tree | 44c07ca7acb8bcbb5d156e787d3b6a530673b03c /app/Models/Category.php | |
| parent | 7d6a64a52243838e37ed47289b73574cfcd3b356 (diff) | |
No warning for muted feeds (#6114)
* No warning for muted feeds
fix https://github.com/FreshRSS/FreshRSS/issues/6113
* Revert subscription
Diffstat (limited to 'app/Models/Category.php')
| -rw-r--r-- | app/Models/Category.php | 4 |
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(); |
