diff --git a/library/think/Validate.php b/library/think/Validate.php index 5d838d2a..f97813c1 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -390,7 +390,7 @@ class Validate // 验证类型 $callback = isset(self::$type[$type]) ? self::$type[$type] : [$this, $type]; // 验证数据 - $result = call_user_func_array($callback, [$value, $rule, $data, $field]); + $result = call_user_func_array($callback, [$value, $rule, $data, $field, $title]); } else { $result = true; }