parent
7868216d04
commit
07776c54f3
|
@ -159,7 +159,7 @@ class Zend_Validate_File_Upload extends Zend_Validate_Abstract
|
||||||
*/
|
*/
|
||||||
public function isValid($value, $file = null)
|
public function isValid($value, $file = null)
|
||||||
{
|
{
|
||||||
$this->_messages = null;
|
$this->_messages = [];
|
||||||
if (array_key_exists($value, $this->_files)) {
|
if (array_key_exists($value, $this->_files)) {
|
||||||
$files[$value] = $this->_files[$value];
|
$files[$value] = $this->_files[$value];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue