MINOR: fixed notice level error

This commit is contained in:
Will Rossiter 2009-04-20 01:02:26 +00:00
parent b83bc79fc2
commit dde089ccd6

View File

@ -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();