Allow ITU message format in validator messages

fixes #991
This commit is contained in:
Carsten Brandt
2013-10-23 20:25:38 +02:00
parent 752037d95b
commit cfc57c20f0
9 changed files with 60 additions and 19 deletions

View File

@ -143,8 +143,8 @@ class CompareValidator extends Validator
}
if (!$valid) {
$this->addError($object, $attribute, $this->message, [
'{compareAttribute}' => $compareLabel,
'{compareValue}' => $compareValue,
'compareAttribute' => $compareLabel,
'compareValue' => $compareValue,
]);
}
}