MINOR Unsetting any validation for LeftAndMain->EmptyForm()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92713 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:15:20 +00:00
parent eef51ed50b
commit 7f285e2bd9

View File

@ -853,7 +853,7 @@ JS;
* @return Form
*/
function EmptyForm() {
return new Form(
$form = new Form(
$this,
"EditForm",
new FieldSet(
@ -872,6 +872,9 @@ JS;
),
new FieldSet()
);
$form->unsetValidator();
return $form;
}
public function myprofile() {