Ensure all form fields have a form set

This commit is contained in:
David Craig 2016-03-08 11:58:26 +13:00 committed by Ingo Schommer
parent ee3158183f
commit a9d839396d

View File

@ -647,6 +647,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
$form->setFields($readonlyFields);
}
$form->Fields()->setForm($form);
$this->extend('updateEditForm', $form);
return $form;
} else if($id) {