mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Admin-UI: Only include IP search-filter when it's an IP.
This commit is contained in:
parent
24f2b22e6a
commit
828d77fbdb
@ -3716,7 +3716,11 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
|
||||
if($var['type'] == 'ip')
|
||||
{
|
||||
$filter[] = $var['__tableField']." LIKE '%".e107::getIpHandler()->ipEncode($searchQuery)."%'";
|
||||
$ipSearch = e107::getIpHandler()->ipEncode($searchQuery);
|
||||
if(!empty($ipSearch))
|
||||
{
|
||||
$filter[] = $var['__tableField']." LIKE '%".$ipSearch."%'";
|
||||
}
|
||||
// Continue below for BC check also.
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user