Fix handling of settings not existing
This commit is contained in:
@@ -85,7 +85,7 @@ class HomeController extends AbstractController
|
||||
// Sort the array so it takes into account the added days
|
||||
$allIncidents = $allIncidents->sortBy(function ($value, $key) {
|
||||
return strtotime($key);
|
||||
}, SORT_REGULAR, true);
|
||||
}, SORT_REGULAR, true)->all();
|
||||
|
||||
// Scheduled maintenance code.
|
||||
$scheduledMaintenance = Incident::scheduled()->orderBy('scheduled_at')->get();
|
||||
|
||||
Reference in New Issue
Block a user