Update devices.php
This commit is contained in:
parent
e3b73b62eb
commit
8b462f5816
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue