Update code/Control/UserDefinedFormController.php

Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
chromos33 2023-09-26 12:21:20 +02:00 committed by GitHub
parent 3764afd628
commit e83c5454c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ JS
}
$stage = $this->config()->get('file_upload_stage');
$file = Versioned::withVersionedMode(function () use ($field, $form, $stage) {
$file = Versioned::withVersionedMode(function () use ($field, $form, $stage) {
Versioned::set_stage($stage);
$foldername = $field->getFormField()->getFolderName();