mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR: removed unnesscary ShowOnLoad save since this is now a CustomSetting field. #5930
This commit is contained in:
parent
a203bcd725
commit
5f4d4e7d28
@ -264,7 +264,6 @@ class EditableFormField extends DataObject {
|
||||
$this->Sort = (isset($data['Sort'])) ? $data['Sort'] : null;
|
||||
$this->Required = !empty($data['Required']) ? 1 : 0;
|
||||
$this->Name = $this->class.$this->ID;
|
||||
$this->ShowOnLoad = (isset($data['ShowOnLoad']) && $data['ShowOnLoad'] == "Show") ? 1 : 0;
|
||||
$this->CustomRules = "";
|
||||
$this->CustomErrorMessage = (isset($data['CustomErrorMessage'])) ? $data['CustomErrorMessage'] : "";
|
||||
$this->CustomSettings = "";
|
||||
|
Loading…
Reference in New Issue
Block a user