From d623eae97cf8e57d215828db60b81498bb304353 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 15 Oct 2017 11:50:09 -0600 Subject: [PATCH] Update v_xml_cdr_import.php --- app/xml_cdr/v_xml_cdr_import.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/xml_cdr/v_xml_cdr_import.php b/app/xml_cdr/v_xml_cdr_import.php index 60e07d50e1..37f3ceee3f 100644 --- a/app/xml_cdr/v_xml_cdr_import.php +++ b/app/xml_cdr/v_xml_cdr_import.php @@ -298,9 +298,9 @@ } //add the call recording - if (isset($record_path) && isset($record_name) && file_exists($record_path.'/'.$record_name && $record_length > 0)) { + if (isset($record_path) && isset($record_name) && file_exists($record_path.'/'.$record_name) && $record_length > 0) { //add to the xml cdr table - $database->fields['record_path'] = $record_path.'/'.$record_name; + $database->fields['record_path'] = $record_path; $database->fields['record_name'] = $record_name; //add to the call recordings table if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_recordings/app_config.php")) {