Another missed reference

This commit is contained in:
Andy Miller
2016-06-02 15:14:14 -06:00
parent 08c5a6c3d0
commit 7b13526e1e

View File

@@ -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