mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
commit
ce96ca3911
@ -679,7 +679,7 @@ JS
|
|||||||
|
|
||||||
if (!empty($data[$field->Name])) {
|
if (!empty($data[$field->Name])) {
|
||||||
if (in_array("EditableFileField", $field->getClassAncestry())) {
|
if (in_array("EditableFileField", $field->getClassAncestry())) {
|
||||||
if (isset($_FILES[$field->Name])) {
|
if (!empty($_FILES[$field->Name]['name'])) {
|
||||||
$foldername = $field->getFormField()->getFolderName();
|
$foldername = $field->getFormField()->getFolderName();
|
||||||
|
|
||||||
// create the file from post data
|
// create the file from post data
|
||||||
|
Loading…
Reference in New Issue
Block a user