From 9e4611118b95705d4e180a7db3e441f764f5bd06 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 19 Jul 2016 18:14:05 +0800 Subject: [PATCH] =?UTF-8?q?input=E5=8A=A9=E6=89=8B=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=8F=82=E6=95=B0=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.php b/helper.php index 16f3f0ed..e0af9dca 100644 --- a/helper.php +++ b/helper.php @@ -115,7 +115,7 @@ if (!function_exists('input')) { * @param string $filter 过滤方法 * @return mixed */ - function input($key, $default = null, $filter = null) + function input($key = '', $default = null, $filter = null) { if (0 === strpos($key, '?')) { $key = substr($key, 1);