mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-23 04:00:23 +08:00
@ -143,8 +143,8 @@ class CompareValidator extends Validator
|
||||
}
|
||||
if (!$valid) {
|
||||
$this->addError($object, $attribute, $this->message, [
|
||||
'{compareAttribute}' => $compareLabel,
|
||||
'{compareValue}' => $compareValue,
|
||||
'compareAttribute' => $compareLabel,
|
||||
'compareValue' => $compareValue,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user