mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-28 16:56:36 +01:00
Force array_values()
This commit is contained in:
@@ -1427,7 +1427,7 @@ class AdminController extends AdminBaseController
|
|||||||
$this->admin->json_response = [
|
$this->admin->json_response = [
|
||||||
'status' => $status,
|
'status' => $status,
|
||||||
'message' => $this->admin::translate($message ?? 'PLUGIN_ADMIN.NO_ROUTE_PROVIDED'),
|
'message' => $this->admin::translate($message ?? 'PLUGIN_ADMIN.NO_ROUTE_PROVIDED'),
|
||||||
'data' => $response
|
'data' => array_values($response)
|
||||||
];
|
];
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user