From a82e779ce90a8617baece732707674dc507b7ecc Mon Sep 17 00:00:00 2001 From: nao-pon Date: Mon, 25 Jul 2016 22:56:24 +0900 Subject: [PATCH] [VD:abstract] fix #1550 option `uiCmdMap` dose not work on 2.1.14 --- php/elFinderVolumeDriver.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/elFinderVolumeDriver.class.php b/php/elFinderVolumeDriver.class.php index 9c15c9b6e9..fdc79e3f79 100644 --- a/php/elFinderVolumeDriver.class.php +++ b/php/elFinderVolumeDriver.class.php @@ -1343,7 +1343,7 @@ public function options($hash) { 'extract' => isset($this->archivers['extract']) && is_array($this->archivers['extract']) ? array_keys($this->archivers['extract']) : array(), 'createext' => $createext ), - 'uiCmdMap' => (isset($this->options['uiCmdMap']) && is_array($this->options['uiCmdMap']))? array_values($this->options['uiCmdMap']) : array(), + 'uiCmdMap' => (isset($this->options['uiCmdMap']) && is_array($this->options['uiCmdMap']))? $this->options['uiCmdMap'] : array(), 'syncChkAsTs' => intval($this->options['syncChkAsTs']), 'syncMinMs' => intval($this->options['syncMinMs']), 'i18nFolderName' => intval($this->options['i18nFolderName'])