mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-26 15:56:30 +01:00
Fix for deleting files from plugin configurations
Signed-off-by: Andy Miller <rhuk@mac.com>
This commit is contained in:
@@ -950,7 +950,7 @@ class AdminBaseController
|
||||
$settings = (object)$blueprints->schema()->getProperty($field);
|
||||
} else {
|
||||
$page = null;
|
||||
if ($type === 'themes') {
|
||||
if ($type === 'themes' || $type === 'plugins') {
|
||||
$obj = $this->grav[$type]->get(Utils::substrToString($blueprint, '/')); //here
|
||||
$settings = (object) $obj->blueprints()->schema()->getProperty($field);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user