From 3eb3574b1328a4172142a50b2a344413b7910d44 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 21 Feb 2024 09:46:47 +0100 Subject: No warning for muted feeds (#6114) * No warning for muted feeds fix https://github.com/FreshRSS/FreshRSS/issues/6113 * Revert subscription --- app/Models/Category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models/Category.php') 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(); -- cgit v1.2.3