From d33ed07d00a520c7780e9ef58383129dd2022687 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 21 Oct 2016 18:03:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=AA=8C=E8=AF=81=E7=B1=BB?= =?UTF-8?q?=E4=B8=80=E5=A4=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Validate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/think/Validate.php b/library/think/Validate.php index 0986c836..fc38d89a 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -359,6 +359,7 @@ class Validate } elseif (method_exists($this, $rule)) { $type = $rule; $info = $rule; + $rule = ''; } else { $type = 'is'; $info = $rule;