mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixing typo on Validator exception message
This commit is contained in:
parent
59dbdcfc55
commit
9732a7fb3b
@ -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