mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 02:43:48 +00:00
Update permission_exists for multiple permissions
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check permissions
|
||||
if (!permission_exists('database_add') || !permission_exists('database_edit')) {
|
||||
if (!(permission_exists('database_add') || permission_exists('database_edit'))) {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user