Update devices.php

This commit is contained in:
FusionPBX 2019-11-20 15:03:41 -07:00 committed by GitHub
parent 99d0ece700
commit a4d5f00324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

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