Update devices.php

This commit is contained in:
FusionPBX
2019-11-20 15:03:41 -07:00
committed by GitHub
parent a90d9741a7
commit c79271ce3d

View File

@@ -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')) {