mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-29 06:31:58 +00:00
fix deep search null error
This commit is contained in:
1 parent
e6c6c92ca2
commit
f7e439b930
1 file changed
+1
-1
@@ -176,7 +176,7 @@ class ObjectUtil {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return obj.toString().toLowerCase().indexOf(key.toLowerCase()) >= 0;
|
||||
return this.isEmpty(obj) ? false : obj.toString().toLowerCase().indexOf(key.toLowerCase()) >= 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user