mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-28 08:46:45 +01:00
Fixed Undefined property: stdClass::$image in 1.8.2 [#1454]
This commit is contained in:
@@ -719,7 +719,7 @@ class AdminBaseController
|
||||
} else {
|
||||
$new_data = $files;
|
||||
}
|
||||
if ($obj->header()->{$init_key}) {
|
||||
if (isset($obj->header()->{$init_key})) {
|
||||
$obj->modifyHeader($init_key,
|
||||
array_replace_recursive([], $obj->header()->{$init_key}, $new_data));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user