mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
Merge branch 'master' of https://github.com/top-think/framework
This commit is contained in:
@@ -974,6 +974,7 @@ class Request
|
|||||||
$filter[] = $default;
|
$filter[] = $default;
|
||||||
if (is_array($data)) {
|
if (is_array($data)) {
|
||||||
array_walk_recursive($data, [$this, 'filterValue'], $filter);
|
array_walk_recursive($data, [$this, 'filterValue'], $filter);
|
||||||
|
reset($data);
|
||||||
} else {
|
} else {
|
||||||
$this->filterValue($data, $name, $filter);
|
$this->filterValue($data, $name, $filter);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user