mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 14:18:46 +02:00
Merge pull request #1801 from willmorgan/patch-2
Fixing typo on Validator exception message
This commit is contained in:
commit
1b4d7fae24
@ -164,7 +164,7 @@ class Form extends RequestHandler {
|
||||
throw new InvalidArgumentException('$actions must be a valid FieldList instance');
|
||||
}
|
||||
if($validator && !$validator instanceof Validator) {
|
||||
throw new InvalidArgumentException('$validator must be a Valdidator instance');
|
||||
throw new InvalidArgumentException('$validator must be a Validator instance');
|
||||
}
|
||||
|
||||
$fields->setForm($this);
|
||||
|
Loading…
Reference in New Issue
Block a user