From 0aec30d9effa866524f5b0209c5c9a0f84abee7c Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 6 Mar 2016 22:46:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= 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 69189ce4..89128f2f 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -27,7 +27,7 @@ class Validate ]; // 验证失败错误信息 - protected static $error = null; + protected static $error = []; /** * 设置正则验证规则