mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
7868216d04
commit
07776c54f3
2
library/vendor/Zend/Validate/File/Upload.php
vendored
2
library/vendor/Zend/Validate/File/Upload.php
vendored
@ -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…
x
Reference in New Issue
Block a user