Either permisison is sufficient. Use an OR as '||' instead than And '&&'
This commit is contained in:
parent
cdfde3aca2
commit
ba92ef16f7
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue