From 7b13526e1e932f07881e40b38db0072cac0bbf62 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 2 Jun 2016 15:14:14 -0600 Subject: [PATCH] Another missed reference --- classes/controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/controller.php b/classes/controller.php index 12b6c8ef..99895838 100644 --- a/classes/controller.php +++ b/classes/controller.php @@ -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