diff --git a/app/devices/devices.php b/app/devices/devices.php index db8cada36f..97d529c520 100644 --- a/app/devices/devices.php +++ b/app/devices/devices.php @@ -50,6 +50,11 @@ $devices = $_POST['devices']; } +//get the search + if (isset($search)) { + $search = strtolower($_GET["search"]); + } + //toggle the devices if (permission_exists('device_edit')) { if ($action == 'toggle' && is_array($devices) && @sizeof($devices) != 0) {