ZF-4248: Zend_File_Transfer_Adapter_Abstract::setOptions() doesn't overwrite options
bug containing revision: 11362
You'll still get errors on uploading files with Zend_Form_Element_File although the field is not required. The cause of the problem is, that the line 162 in Zend_Form_Element_File.php $adapter->setOptions(array('ignoreNoFile' => true)); does not take effect.
Solution: (Zend_File_Transfer_Adapter_Abstract class on line 476)
old: $this->_options += $options;
fixed: $this->_options = $options + $this->_options;