From 02a355751c41b9b7f6f4488c87fa140ccab9a944 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sun, 7 Jun 2020 19:43:16 -0600 Subject: [PATCH] Fix for deleting files from plugin configurations Signed-off-by: Andy Miller --- classes/adminbasecontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/adminbasecontroller.php b/classes/adminbasecontroller.php index b2c9df71..e3828a55 100644 --- a/classes/adminbasecontroller.php +++ b/classes/adminbasecontroller.php @@ -943,7 +943,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 {