mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-28 16:56:36 +01:00
Fixed Undefined property: stdClass::$image in 1.8.2 [#1454]
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v1.8.3
|
||||
## mm/dd/2018
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fixed Undefined property: stdClass::$image in 1.8.2 [#1454](https://github.com/getgrav/grav-plugin-admin/issues/1454)
|
||||
|
||||
# v1.8.2
|
||||
## 05/24/2018
|
||||
|
||||
|
||||
@@ -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