mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
@@ -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