mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
BUGFIX added isset to [->ID]
This commit is contained in:
parent
a1e94eb404
commit
bf0e1cab44
@ -65,7 +65,7 @@ class EditableCheckboxGroupField extends EditableFormField {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($data[$option->ID]) {
|
if(isset($data[$option->ID])) {
|
||||||
$option->populateFromPostData( $data[$option->ID] );
|
$option->populateFromPostData( $data[$option->ID] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user