mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-16 21:18:19 +01:00
Fix feed
This commit is contained in:
parent
84b0c5a4be
commit
48461616db
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user