From 9732a7fb3b3a7535b37a8fb742d510fa6ae25784 Mon Sep 17 00:00:00 2001 From: Will Morgan Date: Wed, 24 Apr 2013 18:50:40 +0200 Subject: [PATCH] Fixing typo on Validator exception message --- forms/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/Form.php b/forms/Form.php index b3821f1bc..b658756a7 100644 --- a/forms/Form.php +++ b/forms/Form.php @@ -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);