Update ring_group_forward.php

This commit is contained in:
FusionPBX 2017-02-28 21:57:35 -07:00 committed by GitHub
parent c8e98c2623
commit d15c7719b9
1 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2013
Portions created by the Initial Developer are Copyright (C) 2013-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
@ -122,7 +122,9 @@
}
else {
//show only assigned ring groups
$sql = "select r.ring_group_uuid, r.ring_group_extension, r.ring_group_description from v_ring_groups as r, v_ring_group_users as u ";
$sql = "select r.ring_group_name, r.ring_group_uuid, r.ring_group_extension, r.ring_group_forward_destination, ";
$sql .= "r.ring_group_forward_enabled, r.ring_group_description ";
$sql .= "from v_ring_groups as r, v_ring_group_users as u ";
$sql .= "where r.ring_group_uuid = u.ring_group_uuid ";
$sql .= "and r.domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and u.user_uuid = '".$_SESSION['user_uuid']."' ";