This commit is contained in:
thinkphp
2016-09-09 23:08:03 +08:00

View File

@@ -974,6 +974,7 @@ class Request
$filter[] = $default;
if (is_array($data)) {
array_walk_recursive($data, [$this, 'filterValue'], $filter);
reset($data);
} else {
$this->filterValue($data, $name, $filter);
}