Either permisison is sufficient. Use an OR as '||' instead than And '&&'

This commit is contained in:
FusionPBX 2023-06-14 17:44:38 -06:00 committed by GitHub
parent cdfde3aca2
commit ba92ef16f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
$show = $_GET["show"] ?? '';
//get record counts
if (permission_exists('fax_extension_view_all') && permission_exists('fax_extension_view_domain')) {
if (permission_exists('fax_extension_view_all') || permission_exists('fax_extension_view_domain')) {
//count the fax extensions
$sql = "select count(f.fax_uuid) from v_fax as f ";
if ($show == "all" && permission_exists('fax_extension_view_all')) {