BUGFIX added isset around ['Title']

This commit is contained in:
Michael Andrewartha 2009-02-26 21:47:22 +00:00
parent bf0e1cab44
commit 170420f9f8

View File

@ -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']);