mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
input助手函数第一个参数增加默认值
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user