From 3c2479d84b086eb90c51e4706d4ff19f39c4a2d8 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 1 Apr 2021 09:28:28 +0100 Subject: [PATCH] Fix --- 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 bade826c..2d5281a1 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() !== Feed::FAILED) { + if ($feed = $this->feed->latest() !== 1) { if (is_object($feed)) { $entries = array_slice($feed->channel->item, 0, 5); }