Update destination_edit.php

This commit is contained in:
FusionPBX 2018-06-26 11:19:39 -06:00 committed by GitHub
parent 128b3db2d5
commit db89323b3f
1 changed files with 3 additions and 3 deletions

View File

@ -143,12 +143,12 @@
}
//set the default context
if ($destination_type =="outbound" && strlen($destination_context) == 0) {
$destination_context = $_SESSION['domain_name'];
}
if ($destination_type =="inbound" && strlen($destination_context) == 0) {
$destination_context = 'public';
}
if ($destination_type =="outbound" && strlen($destination_context) == 0) {
$destination_context = $_SESSION['domain_name'];
}
//check for all required data
$msg = '';