From f15207a94d6866628b9fa22eba82a50267f335e7 Mon Sep 17 00:00:00 2001 From: Bo Andersen Date: Mon, 1 May 2017 09:58:42 +0200 Subject: [PATCH] Update CheckRequired.php We got a wrong translation on the required validation :-) --- src/Validators/CheckRequired.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Validators/CheckRequired.php b/src/Validators/CheckRequired.php index 1329475..aa0ae76 100644 --- a/src/Validators/CheckRequired.php +++ b/src/Validators/CheckRequired.php @@ -31,7 +31,7 @@ public function validate(FieldInterface $field, InputModel $model, InputValidati if ($model->getInput($field) === null) { $model->setError( $field, - $this->error ?: lang::text("mindplay/kissform", "checked", ["field" => $validation->getLabel($field)]) + $this->error ?: lang::text("mindplay/kissform", "required", ["field" => $validation->getLabel($field)]) ); } }