mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-28 00:36:36 +01:00
Fixed issue with deleting files in config based YAML files
# Conflicts: # CHANGELOG.md
This commit is contained in:
@@ -70,6 +70,9 @@
|
||||
* Fixed 2FA regenerate for Flex Users
|
||||
* Added missing closing </li> in language loops
|
||||
* Fixed issue with nested `list` fields both utilizing the custom `key` functionality
|
||||
* Fixed issue with `array` field nested in `list` that were losing their index order when the list reordered
|
||||
* Fixed file form field failing resolution checks in certain circumstances
|
||||
* Fixed issue with deleting files in config based YAML files
|
||||
|
||||
# v1.9.7
|
||||
## 06/21/2019
|
||||
|
||||
@@ -907,11 +907,11 @@ class AdminBaseController
|
||||
$settings = (object)$blueprints->schema()->getProperty($field);
|
||||
} else {
|
||||
$page = null;
|
||||
if ($type === 'user') {
|
||||
$settings = (object)$this->admin->blueprints($blueprint)->schema()->getProperty($field);
|
||||
if ($type === 'themes') {
|
||||
$obj = $this->grav[$type]->get(Utils::substrToString($blueprint, '/')); //here
|
||||
$settings = (object) $obj->blueprints()->schema()->getProperty($field);
|
||||
} else {
|
||||
$obj = $this->grav[$type]->get(Utils::substrToString($blueprint, '/'));
|
||||
$settings = (object)$obj->blueprints()->schema()->getProperty($field);
|
||||
$settings = (object)$this->admin->blueprints($blueprint)->schema()->getProperty($field);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user