This commit is contained in:
James Brooks 2021-03-29 12:26:00 +01:00
parent 84b0c5a4be
commit 48461616db

View File

@ -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);
}