From 93d02e85af34f654b34d2fd7d559b5f9c7b0dddb Mon Sep 17 00:00:00 2001 From: markjcrane Date: Wed, 10 Feb 2016 17:15:31 -0700 Subject: [PATCH] Fix the check to see if domain_name is not set. --- app/xml_cdr/v_xml_cdr_import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/xml_cdr/v_xml_cdr_import.php b/app/xml_cdr/v_xml_cdr_import.php index 5622e9275a..6e0a663c01 100644 --- a/app/xml_cdr/v_xml_cdr_import.php +++ b/app/xml_cdr/v_xml_cdr_import.php @@ -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)); }