Skip to content

Commit

Permalink
Merge pull request #3 from boan2010/patch-1
Browse files Browse the repository at this point in the history
corrected language constant name
  • Loading branch information
mindplay-dk authored May 1, 2017
2 parents f4f5b3c + f15207a commit 6f059fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validators/CheckRequired.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)])
);
}
}
Expand Down

0 comments on commit 6f059fa

Please sign in to comment.