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