From c79271ce3d296668a9dc9ba4a3d2ae4565429841 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 20 Nov 2019 15:03:41 -0700 Subject: [PATCH] Update devices.php --- app/devices/devices.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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')) {