From 33b9ba4a9c800d2c26496cadfaf74ee310eb2270 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 19 Dec 2016 08:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BValidate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Validate.php b/library/think/Validate.php index f97813c1..93440cd7 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -417,7 +417,7 @@ class Validate $i++; } } - return true !== $result ? $result : true; + return $result; } /**