Fix the check to see if domain_name is not set.

This commit is contained in:
markjcrane
2016-02-10 17:15:31 -07:00
parent 2e5e2aa3b3
commit 9b1cb7c43e

View File

@@ -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));
}