From 5f4d4e7d28a87548f3f0e4802dbd4f3fbc391fe9 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Fri, 13 Aug 2010 23:51:26 +0000 Subject: [PATCH] MINOR: removed unnesscary ShowOnLoad save since this is now a CustomSetting field. #5930 --- code/editor/EditableFormField.php | 1 - 1 file changed, 1 deletion(-) diff --git a/code/editor/EditableFormField.php b/code/editor/EditableFormField.php index 8187e80..4c3c8df 100755 --- a/code/editor/EditableFormField.php +++ b/code/editor/EditableFormField.php @@ -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 = "";