Skip to content

Commit

Permalink
fix: Single File Upload
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Jan 6, 2025
1 parent d15a2ba commit 4126efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webfiori/file/FileUploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public function upload(bool $replaceIfExist = false) : array {
}
} else {
//single file upload
$fileInfoArr = $this->getFileArr($fileOrFiles, $replaceIfExist);
$fileInfoArr = $this->getFileArr($fileOrFiles, $replaceIfExist, null);
$this->files[] = $fileInfoArr;
}
}
Expand Down

0 comments on commit 4126efc

Please sign in to comment.