- 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
@@ -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);
}