Browse Source

removed value from client validation message

this is not what is actually beeing validated
tags/2.0.0-beta
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, 'caseSensitive' => $this->caseSensitive,
'message' => Html::encode(strtr($this->message, [ 'message' => Html::encode(strtr($this->message, [
'{attribute}' => $object->getAttributeLabel($attribute), '{attribute}' => $object->getAttributeLabel($attribute),
'{value}' => $object->$attribute,
])), ])),
]; ];
if ($this->skipOnEmpty) { if ($this->skipOnEmpty) {

Loading…
Cancel
Save