Merge branch '5.2' into 5.3

This commit is contained in:
Robbie Averill 2018-11-07 16:45:17 +02:00
commit b9a8571352

View File

@ -772,7 +772,7 @@ class EditableFormField extends DataObject
} }
// if this field has a placeholder // if this field has a placeholder
if ($this->Placeholder) { if (strlen($this->Placeholder) >= 0) {
$field->setAttribute('placeholder', $this->Placeholder); $field->setAttribute('placeholder', $this->Placeholder);
} }
} }