mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
BUGFIX added isset around ['Title']
This commit is contained in:
parent
bf0e1cab44
commit
170420f9f8
@ -85,7 +85,7 @@ class EditableFormField extends DataObject {
|
||||
|
||||
function populateFromPostData( $data ) {
|
||||
|
||||
$this->Title = $data['Title'];
|
||||
$this->Title = isset($data['Title']) ? $data['Title']: "";
|
||||
|
||||
if(isset($data['Default'])) {
|
||||
$this->setField('Default', $data['Default']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user