aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-02-21 09:46:47 +0100
committerGravatar GitHub <noreply@github.com> 2024-02-21 09:46:47 +0100
commit3eb3574b1328a4172142a50b2a344413b7910d44 (patch)
tree44c07ca7acb8bcbb5d156e787d3b6a530673b03c /app/views
parent7d6a64a52243838e37ed47289b73574cfcd3b356 (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/views')
-rw-r--r--app/views/index/global.phtml2
-rw-r--r--app/views/stats/idle.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml
index 6a46ec2ca..011b66a49 100644
--- a/app/views/index/global.phtml
+++ b/app/views/index/global.phtml
@@ -45,7 +45,7 @@
$error_class = '';
$error_title = '';
- if ($feed->inError()) {
+ if ($feed->inError() && !$feed->mute()) {
$error_class = ' error';
$error_title = _t('sub.feed.error');
}
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml
index 5390a00a3..c5f9a1e6b 100644
--- a/app/views/stats/idle.phtml
+++ b/app/views/stats/idle.phtml
@@ -29,7 +29,7 @@
$error_class = '';
$error_title = '';
- if ($feed == null || $feed->inError()) {
+ if ($feed === null || $feed->inError()) {
$error_class = ' error';
$error_title = _t('sub.feed.error');
}