Commits

Bogdan Savluk  committed 88afc47

fixed #1 - "Error upload to the server (PHP Version 5.2.17, Linux)"

  • Participants
  • Parent commits 52b49f9

Comments (0)

Files changed (1)

File php/elFinder.class.php

 				if (isset($this->_commands['archive'])) {
 					$this->_result['params']['archives'] = $this->_options['archiveMimes'];
 				}
-				if (isset($this->_commands['extract'])) {
+				if (isset($this->_commands['extract']) && count($this->_options['archivers']) > 0) {
 					$this->_result['params']['extract'] = array_keys($this->_options['archivers']['extract']);
 				}
 			}