From 483cf5542d08945fd86ff4a77e45d4e8a3c65166 Mon Sep 17 00:00:00 2001 From: Luis Daniel Lucio Quiroz Date: Sat, 9 Jun 2018 11:30:02 -0400 Subject: [PATCH] Same logic as v_xml_cdr_import.php (#3048) --- app/xml_cdr/resources/classes/xml_cdr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index 1eab82d6f3..13b3df6f96 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -289,7 +289,7 @@ if (!class_exists('xml_cdr')) { $caller_id_name = urldecode($xml->variables->effective_caller_id_name); $caller_id_number = urldecode($xml->variables->effective_caller_id_number); $caller_id_destination = urldecode($xml->variables->caller_destination); - if (strlen($caller_id_number) == 0) foreach ($xml->callflow as $row) { + foreach ($xml->callflow as $row) { $caller_id_number = urldecode($row->caller_profile->caller_id_number); } if (strlen($caller_id_name) == 0) foreach ($xml->callflow as $row) {