mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02: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 ) {
|
function populateFromPostData( $data ) {
|
||||||
|
|
||||||
$this->Title = $data['Title'];
|
$this->Title = isset($data['Title']) ? $data['Title']: "";
|
||||||
|
|
||||||
if(isset($data['Default'])) {
|
if(isset($data['Default'])) {
|
||||||
$this->setField('Default', $data['Default']);
|
$this->setField('Default', $data['Default']);
|
||||||
|
Loading…
Reference in New Issue
Block a user