Skip to content

Commit 4126efc

Browse files
committed
fix: Single File Upload
1 parent d15a2ba commit 4126efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webfiori/file/FileUploader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ public function upload(bool $replaceIfExist = false) : array {
468468
}
469469
} else {
470470
//single file upload
471-
$fileInfoArr = $this->getFileArr($fileOrFiles, $replaceIfExist);
471+
$fileInfoArr = $this->getFileArr($fileOrFiles, $replaceIfExist, null);
472472
$this->files[] = $fileInfoArr;
473473
}
474474
}

0 commit comments

Comments
 (0)