mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update permission_exists for multiple permissions
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check the permission
|
||||
if (!permission_exists('recording_play') || !permission_exists('recording_download')) {
|
||||
if (!(permission_exists('recording_play') || permission_exists('recording_download'))) {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user