mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 09:05:46 +00:00
FIX: AJAX
This commit is contained in:
parent
0588e3a409
commit
a6d9d432a6
@ -259,7 +259,7 @@ class AjaxControllerEx extends Extension
|
||||
}
|
||||
|
||||
// render page
|
||||
if (!self::isJson($body)) {
|
||||
if ($body && !self::isJson($body)) {
|
||||
$body = json_encode([
|
||||
'ID' => $record->ID,
|
||||
'Title' => $record->Title,
|
||||
|
Loading…
x
Reference in New Issue
Block a user