* [task#116512] Fix the unmatched reason.

This commit is contained in:
dingguodong
2024-06-12 16:41:11 +08:00
parent 361d15dbaa
commit 396248b74c
+1 -1
View File
@@ -254,7 +254,7 @@ class systemModel extends model
$maintenance = new stdclass();
$maintenance->action = $action;
$maintenance->reason = $this->lang->system->maintenance[$action];
$maintenance->reason = $this->lang->system->maintenance->reason[$action] ?? $this->lang->unknown;
return $this->loadModel('setting')->setItem('system.system.maintenance', json_encode($maintenance));
}