From 92319c876c01ffe8ed6fc0cdc7b6c07df8442141 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 17 May 2016 14:07:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Input=E7=B1=BB=E4=B8=80?= =?UTF-8?q?=E5=A4=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Input.php b/library/think/Input.php index 6ecd82de..880f2782 100644 --- a/library/think/Input.php +++ b/library/think/Input.php @@ -292,7 +292,7 @@ class Input static::typeCast($data, $type); } } else { - $data = $default; + $data = []; } return $data; }