From bacdd643cfb06448741d2026f920c53bb6db5356 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 14 Nov 2018 00:25:14 -0600 Subject: [PATCH] Update ring_group_edit.php --- app/ring_groups/ring_group_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ring_groups/ring_group_edit.php b/app/ring_groups/ring_group_edit.php index 9ad6efece8..e9c2e60086 100644 --- a/app/ring_groups/ring_group_edit.php +++ b/app/ring_groups/ring_group_edit.php @@ -457,8 +457,8 @@ //set defaults if (strlen($ring_group_enabled) == 0) { $ring_group_enabled = 'true'; } -//set the context for users that do not have the permission - if (!permission_exists('ring_group_context')) { +//set the default ring group context + if (strlen($ring_group_context) == 0) { $ring_group_context = $_SESSION['domain_name']; }