diff --git a/app/Http/Controllers/Dashboard/DashboardController.php b/app/Http/Controllers/Dashboard/DashboardController.php index e21f28f3..eec7321a 100644 --- a/app/Http/Controllers/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Dashboard/DashboardController.php @@ -106,7 +106,7 @@ class DashboardController extends Controller $entries = null; if ($feed = $this->feed->latest()) { - if ($feed !== 1) { + if (is_object($feed)) { $entries = array_slice($feed->channel->item, 0, 5); } }