diff --git a/app/devices/devices.php b/app/devices/devices.php index 97d529c520..f77b5ee7dc 100644 --- a/app/devices/devices.php +++ b/app/devices/devices.php @@ -46,14 +46,11 @@ //get posted data if (is_array($_POST['devices'])) { $action = $_POST['action']; - $search = $_POST['search']; $devices = $_POST['devices']; } //get the search - if (isset($search)) { - $search = strtolower($_GET["search"]); - } + $search = strtolower($_GET["search"]); //toggle the devices if (permission_exists('device_edit')) {