Update devices.php

This commit is contained in:
FusionPBX 2019-11-20 14:48:31 -07:00 committed by GitHub
parent e3b73b62eb
commit 8b462f5816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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