From dde089ccd6b88267388a384419892c347aa9d710 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Mon, 20 Apr 2009 01:02:26 +0000 Subject: [PATCH] MINOR: fixed notice level error --- code/editor/FieldEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/editor/FieldEditor.php b/code/editor/FieldEditor.php index 63477c2..260eea5 100755 --- a/code/editor/FieldEditor.php +++ b/code/editor/FieldEditor.php @@ -162,7 +162,7 @@ class FieldEditor extends FormField { $field = new $className(); $field->write(); $field->ParentID = $this->form->getRecord()->ID; - $field->Name = $e->class . $e->ID; + $field->Name = $field->class . $field->ID; $field->Sort = $sort; $field->write(); return $field->EditSegment();