Update ring_group_edit.php

This commit is contained in:
FusionPBX 2018-11-14 00:25:14 -06:00 committed by GitHub
parent ef26f6cc0d
commit 28f4b8c049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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'];
}