mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 09:05:46 +00:00
FIX: PHP8.1
This commit is contained in:
parent
a6d9d432a6
commit
141043d219
@ -207,9 +207,11 @@ class AjaxControllerEx extends Extension
|
||||
$url = $req->getURL();
|
||||
$url = $url === 'home' ? '/' : $url;
|
||||
|
||||
$ajax_res = $ctrl->config()->get('ajax_resources');
|
||||
$graphql_res = $ctrl->config()->get('graphql_resources');
|
||||
$resources = array_merge(
|
||||
$ctrl->config()->get('graphql_resources'),
|
||||
$ctrl->config()->get('ajax_resources')
|
||||
$ajax_res ? $ajax_res : [],
|
||||
$graphql_res ? $graphql_res : []
|
||||
);
|
||||
|
||||
$body = $response->getBody();
|
||||
|
Loading…
x
Reference in New Issue
Block a user