From 9b8942fa1d54cc31d5503e5e40f8518a17edbf3e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 21 Jun 2011 20:14:40 -0500 Subject: [PATCH] fixed equality check in validator. --- system/validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/validator.php b/system/validator.php index 3264dae8..a3991996 100644 --- a/system/validator.php +++ b/system/validator.php @@ -69,7 +69,7 @@ class Validator { $rule->validate($this->attributes, $this->errors); } - return count($this->errors->messages) === 0; + return count($this->errors->messages) == 0; } /**