mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 06:45:52 +02:00
Another missed reference
This commit is contained in:
@@ -948,7 +948,7 @@ class AdminController
|
||||
}
|
||||
|
||||
// If not a supported type, return
|
||||
if (!$fileExt || !$config->get("media.{$fileExt}")) {
|
||||
if (!$fileExt || !$config->get("media.types.{$fileExt}")) {
|
||||
$this->admin->json_response = [
|
||||
'status' => 'error',
|
||||
'message' => $this->admin->translate('PLUGIN_ADMIN.UNSUPPORTED_FILE_TYPE') . ': ' . $fileExt
|
||||
|
||||
Reference in New Issue
Block a user