From 07776c54f30995abf8f9034873d1acbe20364643 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 20 Feb 2019 05:41:23 +0100 Subject: [PATCH] Upload: do not fail on PHP 7.2 fixes #3689 --- library/vendor/Zend/Validate/File/Upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/vendor/Zend/Validate/File/Upload.php b/library/vendor/Zend/Validate/File/Upload.php index 24a48d1ff..b86c1c7ea 100644 --- a/library/vendor/Zend/Validate/File/Upload.php +++ b/library/vendor/Zend/Validate/File/Upload.php @@ -159,7 +159,7 @@ class Zend_Validate_File_Upload extends Zend_Validate_Abstract */ public function isValid($value, $file = null) { - $this->_messages = null; + $this->_messages = []; if (array_key_exists($value, $this->_files)) { $files[$value] = $this->_files[$value]; } else {