Update code/Control/UserDefinedFormController.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
parent
3764afd628
commit
e83c5454c8
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue