Update devices.php

This commit is contained in:
FusionPBX
2019-11-20 14:48:31 -07:00
committed by GitHub
parent 08079a9fb8
commit 0b8ccc7bc8

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