From 6a425ac9350ccac3154de0af18828b23c9a51c97 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 19 May 2020 11:28:51 -0600 Subject: [PATCH] Filemanager: Add a 'None' option for editor mime type exclusion so you can override the default. --- filemanager/inc/class.filemanager_hooks.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_hooks.inc.php b/filemanager/inc/class.filemanager_hooks.inc.php index e531a517d2..c90a70be51 100644 --- a/filemanager/inc/class.filemanager_hooks.inc.php +++ b/filemanager/inc/class.filemanager_hooks.inc.php @@ -198,7 +198,7 @@ class filemanager_hooks ); $editorLink = self::getEditorLink(); - $mimes = array(); + $mimes = array('0' => lang('None')); foreach ((array)$editorLink['mime'] as $mime => $value) {