mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-08 11:57:52 +08:00
fix a bug
This commit is contained in:
parent
10dea5cffd
commit
fba0d77e7b
@ -147,7 +147,7 @@ class Utils
|
|||||||
{
|
{
|
||||||
foreach ($array as &$value) {
|
foreach ($array as &$value) {
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
$value = self::filter($value);
|
$value = self::filter($value, $callback, $mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return array_filter($array, $callback, $mode);
|
return array_filter($array, $callback, $mode);
|
||||||
|
Loading…
Reference in New Issue
Block a user