Update xml_cdr.php

This commit is contained in:
FusionPBX
2025-09-02 11:33:31 -06:00
committed by GitHub
parent 038ed4ded3
commit 1c189ed780

View File

@@ -365,7 +365,7 @@
if ($xml === false) {
//failed to load the XML, move the XML file to the failed directory
if (!empty($xml_cdr_dir)) {
rename($xml_cdr_dir.'/'.$this->file, $xml_cdr_dir.'/failed/invalid_xml/'.$this->file);
rename($xml_cdr_dir.'/'.$this->file, $xml_cdr_dir.'/failed/xml/'.$this->file);
}
//return without saving the invalid xml