diff --git a/code/Model/EditableFormField.php b/code/Model/EditableFormField.php index ddff655..5b52c80 100755 --- a/code/Model/EditableFormField.php +++ b/code/Model/EditableFormField.php @@ -772,7 +772,7 @@ class EditableFormField extends DataObject } // if this field has a placeholder - if ($this->Placeholder) { + if (strlen($this->Placeholder) >= 0) { $field->setAttribute('placeholder', $this->Placeholder); } }