From d2015ba95085db17cc36cd6cbcc52954391a39e5 Mon Sep 17 00:00:00 2001 From: huangdijia Date: Tue, 15 Dec 2015 14:23:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8D=A2=E8=A1=8C=EF=BC=8C?= =?UTF-8?q?=E6=96=B9=E4=BE=BF=E9=98=85=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/input.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/think/input.php b/library/think/input.php index 1f0c6dce..36e9e733 100644 --- a/library/think/input.php +++ b/library/think/input.php @@ -263,9 +263,7 @@ class Input { $result = []; foreach ($data as $key => $val) { - $result[$key] = is_array($val) - ? self::filter($filter, $val) - : call_user_func($filter, $val); + $result[$key] = is_array($val) ? self::filter($filter, $val) : call_user_func($filter, $val); } return $result; }