summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-foundation/FileBag.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-foundation/FileBag.php')
-rw-r--r--vendor/symfony/http-foundation/FileBag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/http-foundation/FileBag.php b/vendor/symfony/http-foundation/FileBag.php
index 14fbc7aa9d..efd83ffeb8 100644
--- a/vendor/symfony/http-foundation/FileBag.php
+++ b/vendor/symfony/http-foundation/FileBag.php
@@ -84,7 +84,7 @@ class FileBag extends ParameterBag
if (UPLOAD_ERR_NO_FILE == $file['error']) {
$file = null;
} else {
- $file = new UploadedFile($file['tmp_name'], $file['name'], $file['type'], $file['error']);
+ $file = new UploadedFile($file['tmp_name'], $file['name'], $file['type'], $file['error'], false);
}
} else {
$file = array_map([$this, 'convertFileInformation'], $file);