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; }