Fix issue 263 domain_name for outbound route.
This commit is contained in:
@@ -686,7 +686,7 @@ function type_onchange(dialplan_detail_type) {
|
|||||||
if (permission_exists('outbound_route_any_gateway')) {
|
if (permission_exists('outbound_route_any_gateway')) {
|
||||||
if ($previous_domain_uuid != $row['domain_uuid']) {
|
if ($previous_domain_uuid != $row['domain_uuid']) {
|
||||||
echo "</optgroup>";
|
echo "</optgroup>";
|
||||||
echo "<optgroup label=' ".$_SESSION['domain_name']."'>";
|
echo "<optgroup label=' ".$_SESSION['domains'][$row['domain_uuid']]['domain_name']."'>";
|
||||||
}
|
}
|
||||||
if ($row['gateway'] == $gateway_name) {
|
if ($row['gateway'] == $gateway_name) {
|
||||||
echo "<option value=\"".$row['gateway_uuid'].":".$row['gateway']."\" selected=\"selected\"> ".$row['gateway']."</option>\n";
|
echo "<option value=\"".$row['gateway_uuid'].":".$row['gateway']."\" selected=\"selected\"> ".$row['gateway']."</option>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user