mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Correct the permission for device delete.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
require_once "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
if (permission_exists('phone_delete')) {
|
||||
if (permission_exists('device_delete')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
@@ -59,4 +59,4 @@ if (count($_GET)>0) {
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user