mirror of
				https://github.com/getgrav/grav-plugin-admin.git
				synced 2025-10-31 18:35:57 +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); |             $settings = (object)$blueprints->schema()->getProperty($field); | ||||||
|         } else { |         } else { | ||||||
|             $page = null; |             $page = null; | ||||||
|             if ($type === 'themes') { |             if ($type === 'themes' || $type === 'plugins') { | ||||||
|                 $obj = $this->grav[$type]->get(Utils::substrToString($blueprint, '/')); //here |                 $obj = $this->grav[$type]->get(Utils::substrToString($blueprint, '/')); //here | ||||||
|                 $settings = (object) $obj->blueprints()->schema()->getProperty($field); |                 $settings = (object) $obj->blueprints()->schema()->getProperty($field); | ||||||
|             } else { |             } else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user