Update destination_edit.php
This commit is contained in:
parent
128b3db2d5
commit
db89323b3f
|
|
@ -143,12 +143,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//set the default context
|
//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) {
|
if ($destination_type =="inbound" && strlen($destination_context) == 0) {
|
||||||
$destination_context = 'public';
|
$destination_context = 'public';
|
||||||
}
|
}
|
||||||
|
if ($destination_type =="outbound" && strlen($destination_context) == 0) {
|
||||||
|
$destination_context = $_SESSION['domain_name'];
|
||||||
|
}
|
||||||
|
|
||||||
//check for all required data
|
//check for all required data
|
||||||
$msg = '';
|
$msg = '';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue