From 48461616db679057f0d9d1f7aaec94dfa0e1aa46 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 29 Mar 2021 12:26:00 +0100 Subject: [PATCH] Fix feed --- app/Http/Controllers/Dashboard/DashboardController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Dashboard/DashboardController.php b/app/Http/Controllers/Dashboard/DashboardController.php index eec7321a9..bade826c7 100644 --- a/app/Http/Controllers/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Dashboard/DashboardController.php @@ -105,7 +105,7 @@ class DashboardController extends Controller } $entries = null; - if ($feed = $this->feed->latest()) { + if ($feed = $this->feed->latest() !== Feed::FAILED) { if (is_object($feed)) { $entries = array_slice($feed->channel->item, 0, 5); }