added missing semicolons

Added two missing semicolons
This commit is contained in:
Bram de Leeuw 2016-04-26 10:39:45 +02:00
parent b70c66e950
commit dfc3f2f4be

View File

@ -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')