Fixed MaintenanceinfoApi
This commit is contained in:
@@ -15,7 +15,7 @@ class MaintenanceinfoApicontroller extends mfBaseApicontroller {
|
||||
protected function getCurrentMaintenance() {
|
||||
$results = [];
|
||||
|
||||
foreach(\MaintenanceNotification::searchActive([]) as $notification) {
|
||||
foreach(\MaintenanceNotification::searchOpen([]) as $notification) {
|
||||
$item = [];
|
||||
|
||||
$from = new DateTime("@".$notification->from);
|
||||
|
||||
Reference in New Issue
Block a user