From 6ba9c88c95517b1f4e019c00dc76766ae48ad54d Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 8 Dec 2016 13:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=B1=BB=E7=9A=84confirm?= =?UTF-8?q?=E6=96=B9=E6=B3=95field=E5=8F=82=E6=95=B0=E5=8F=AF=E9=80=89=20?= =?UTF-8?q?=E4=BE=BF=E4=BA=8E=E9=9D=99=E6=80=81=E9=AA=8C=E8=AF=81?= 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 101bb2ef..5bc1e944 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -428,7 +428,7 @@ class Validate * @param string $field 字段名 * @return bool */ - protected function confirm($value, $rule, $data, $field) + protected function confirm($value, $rule, $data, $field = '') { if ('' == $rule) { if (strpos($field, '_confirm')) {