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 = $req->getURL();
|
||||||
$url = $url === 'home' ? '/' : $url;
|
$url = $url === 'home' ? '/' : $url;
|
||||||
|
|
||||||
|
$ajax_res = $ctrl->config()->get('ajax_resources');
|
||||||
|
$graphql_res = $ctrl->config()->get('graphql_resources');
|
||||||
$resources = array_merge(
|
$resources = array_merge(
|
||||||
$ctrl->config()->get('graphql_resources'),
|
$ajax_res ? $ajax_res : [],
|
||||||
$ctrl->config()->get('ajax_resources')
|
$graphql_res ? $graphql_res : []
|
||||||
);
|
);
|
||||||
|
|
||||||
$body = $response->getBody();
|
$body = $response->getBody();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user