From 170420f9f864a18c5ecdb145a9dcfffe158c2359 Mon Sep 17 00:00:00 2001 From: Michael Andrewartha Date: Thu, 26 Feb 2009 21:47:22 +0000 Subject: [PATCH] BUGFIX added isset around ['Title'] --- code/editor/EditableFormField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/editor/EditableFormField.php b/code/editor/EditableFormField.php index ec72cbb..acf7434 100755 --- a/code/editor/EditableFormField.php +++ b/code/editor/EditableFormField.php @@ -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']);