mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-07-02 04:52:08 +00:00
fix deep search null error
This commit is contained in:
parent
e6c6c92ca2
commit
f7e439b930
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class ObjectUtil {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return obj.toString().toLowerCase().indexOf(key.toLowerCase()) >= 0;
|
return this.isEmpty(obj) ? false : obj.toString().toLowerCase().indexOf(key.toLowerCase()) >= 0;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue