From 752037d95b20580b233d37fbf9e630caffb9a6ac Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 23 Oct 2013 20:22:43 +0200 Subject: [PATCH] removed value from client validation message this is not what is actually beeing validated --- framework/yii/captcha/CaptchaValidator.php | 1 - 1 file changed, 1 deletion(-) diff --git a/framework/yii/captcha/CaptchaValidator.php b/framework/yii/captcha/CaptchaValidator.php index c613979..e871669 100644 --- a/framework/yii/captcha/CaptchaValidator.php +++ b/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) {