BUGFIX: by default show the field

This commit is contained in:
Will Rossiter 2009-05-06 04:20:46 +00:00
parent 79621b6c7f
commit 504623d940

View File

@ -73,7 +73,7 @@ class EditableFormField extends DataObject {
}
function ShowOnLoad() {
return ($this->getSetting('ShowOnLoad') == "Show") ? true : false;
return ($this->getSetting('ShowOnLoad') == "Show" || $this->getSetting('ShowOnLoad') == '') ? true : false;
}
/**