From 9fe0e276b5c89cd4bc49fc970345205d5879955f Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 10 Nov 2017 16:51:06 +0100 Subject: [PATCH] Try to avoid mime open exception --- filemanager/inc/class.filemanager_hooks.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_hooks.inc.php b/filemanager/inc/class.filemanager_hooks.inc.php index 995076cec0..50b22e8898 100644 --- a/filemanager/inc/class.filemanager_hooks.inc.php +++ b/filemanager/inc/class.filemanager_hooks.inc.php @@ -306,7 +306,9 @@ class filemanager_hooks ), 'edit_popup' => '980x750', 'mime' => array ( - 'application/vnd.oasis.opendocument.text' => true, + 'application/vnd.oasis.opendocument.text' => array ( + 'mime_popup' => '' // try to avoid mime_open exception + ), ) ); foreach ($implemented as $app)