Quellcode durchsuchen

[ZF-9159] Zend_File:

- fixed setoption when no file has been provided

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21038 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas vor 16 Jahren
Ursprung
Commit
571c6be98c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      library/Zend/File/Transfer/Adapter/Abstract.php

+ 1 - 1
library/Zend/File/Transfer/Adapter/Abstract.php

@@ -553,7 +553,7 @@ abstract class Zend_File_Transfer_Adapter_Abstract
         $file = $this->_getFiles($files, false, true);
 
         if (is_array($options)) {
-            if ($file === null) {
+            if (empty($file)) {
                 $this->_options = array_merge($this->_options, $options);
             }