From 4ed28a9aee0d26a499d22722e8ddedea8a1fe725 Mon Sep 17 00:00:00 2001 From: gsd Date: Fri, 7 Jun 2013 01:54:20 +0600 Subject: [PATCH] Update CompareValidator.php --- framework/yii/validators/CompareValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/validators/CompareValidator.php b/framework/yii/validators/CompareValidator.php index b8e8a50..c94577c 100644 --- a/framework/yii/validators/CompareValidator.php +++ b/framework/yii/validators/CompareValidator.php @@ -58,7 +58,7 @@ class CompareValidator extends Validator * - `<`: validates to see if the value being validated is less than the value being compared with. * - `<=`: validates to see if the value being validated is less than or equal to the value being compared with. */ - public $operator = '='; + public $operator = '=='; /** * @var string the user-defined error message. It may contain the following placeholders which * will be replaced accordingly by the validator: