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 = []; /** * 设置正则验证规则