mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
added missing semicolons
Added two missing semicolons
This commit is contained in:
parent
b70c66e950
commit
dfc3f2f4be
@ -50,9 +50,9 @@ class EditableFileField extends EditableFormField {
|
|||||||
|
|
||||||
public function getFormField() {
|
public function getFormField() {
|
||||||
if(isset(Config::inst()->get('EditableFileField', 'use_uploadfield')) && Config::inst()->get('EditableFileField', 'use_uploadfield')) {
|
if(isset(Config::inst()->get('EditableFileField', 'use_uploadfield')) && Config::inst()->get('EditableFileField', 'use_uploadfield')) {
|
||||||
$field = Upload::create($this->Name, $this->EscapedTitle)
|
$field = Upload::create($this->Name, $this->EscapedTitle);
|
||||||
} else {
|
} else {
|
||||||
$field = FileField::create($this->Name, $this->EscapedTitle)
|
$field = FileField::create($this->Name, $this->EscapedTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
$field->setFieldHolderTemplate('UserFormsField_holder')
|
$field->setFieldHolderTemplate('UserFormsField_holder')
|
||||||
|
Loading…
Reference in New Issue
Block a user