Fixed MaintenanceinfoApi

This commit is contained in:
Frank Schubert
2025-08-04 12:03:07 +02:00
parent 3718ceefdf
commit 6cc7080ee5
3 changed files with 8 additions and 3 deletions
@@ -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);