mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
BUGFIX: fixed array to string conversion error with file fields
This commit is contained in:
parent
3351ef17b3
commit
8e80ffbc70
@ -31,5 +31,12 @@ class EditableFileField extends EditableFormField {
|
||||
return new FileField($this->Name, $this->Title);
|
||||
}
|
||||
|
||||
/**
|
||||
* Workaround to handle uploads on the UserFormPage
|
||||
*/
|
||||
public function getValueFromData($data) {
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user