mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
b6d6dfb76b
commit
859bbb2eaa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user