mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update devices.php
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user