Update devices.php
This commit is contained in:
parent
99d0ece700
commit
a4d5f00324
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue