Browse Source

removed value from client validation message

this is not what is actually beeing validated
tags/2.0.0-alpha
Carsten Brandt 11 years ago
parent
commit
752037d95b
  1. 1
      framework/yii/captcha/CaptchaValidator.php

1
framework/yii/captcha/CaptchaValidator.php

@ -113,7 +113,6 @@ class CaptchaValidator extends Validator
'caseSensitive' => $this->caseSensitive,
'message' => Html::encode(strtr($this->message, [
'{attribute}' => $object->getAttributeLabel($attribute),
'{value}' => $object->$attribute,
])),
];
if ($this->skipOnEmpty) {

Loading…
Cancel
Save