Reverted r74899

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74900 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-04-21 22:24:41 +00:00 committed by Sam Minnee
parent b6d6dfb76b
commit 859bbb2eaa

View File

@ -119,7 +119,7 @@ class Form extends RequestHandler {
// Form validation
$this->validator = ($validator) ? $validator : new RequiredFields();
if($this->validator) $this->validator->setForm($this);
$this->validator->setForm($this);
// Form error controls
$this->setupFormErrors();