mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Fix the check to see if domain_name is not set.
This commit is contained in:
@@ -193,7 +193,7 @@
|
||||
$domain_uuid = check_str(urldecode($xml->variables->domain_uuid));
|
||||
|
||||
//get the domain name from sip_req_host
|
||||
if (strlen($domain_name) > 0) {
|
||||
if (strlen($domain_name) == 0) {
|
||||
$domain_name = check_str(urldecode($xml->variables->sip_req_host));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user