composer update
This commit is contained in:
2
vendor/symfony/http-foundation/FileBag.php
vendored
2
vendor/symfony/http-foundation/FileBag.php
vendored
@@ -81,7 +81,7 @@ class FileBag extends ParameterBag
|
||||
sort($keys);
|
||||
|
||||
if ($keys == self::$fileKeys) {
|
||||
if (UPLOAD_ERR_NO_FILE == $file['error']) {
|
||||
if (\UPLOAD_ERR_NO_FILE == $file['error']) {
|
||||
$file = null;
|
||||
} else {
|
||||
$file = new UploadedFile($file['tmp_name'], $file['name'], $file['type'], $file['error'], false);
|
||||
|
||||
Reference in New Issue
Block a user