From 0404f14c58852f2acf980e5212491d24abdb0d96 Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Mon, 7 Feb 2022 01:13:10 -0500 Subject: [PATCH] [call block] Fix ring group action (#6288) --- app/call_block/call_block_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/call_block/call_block_edit.php b/app/call_block/call_block_edit.php index 269a374a29..1705e30168 100644 --- a/app/call_block/call_block_edit.php +++ b/app/call_block/call_block_edit.php @@ -284,7 +284,7 @@ if (permission_exists('call_block_all') || permission_exists('call_block_ivr')) } //get the ring groups -if (permission_exists('call_block_all') || permission_exists('call_block_ivr')) { +if (permission_exists('call_block_all') || permission_exists('call_block_ring_group')) { $sql = "select ring_group_uuid,ring_group_name, ring_group_extension, ring_group_description from v_ring_groups "; $sql .= "where domain_uuid = :domain_uuid "; // $sql .= "and ring_group_enabled = 'true' "; @@ -416,7 +416,7 @@ if (permission_exists('call_block_all') || permission_exists('call_block_ivr')) echo "\n"; echo "