Update xml_cdr_export.php

This commit is contained in:
FusionPBX
2020-01-28 17:28:01 -07:00
committed by GitHub
parent 1076c99d63
commit 70e3865d42

View File

@@ -49,14 +49,11 @@
//get the format
$export_format = $_REQUEST['export_format'];
//get the format
$showall = $_REQUEST['showall'];
//exprot the csv
//export the csv
if ($export_format == 'csv') {
//define file name
if ($_REQUEST['showall'] == 'true') {
if ($_GET['show'] == 'all' && permission_exists('xml_cdr_all')) {
$csv_filename = "cdr_".date("Ymd_His").".csv";
}
else {
@@ -318,4 +315,4 @@
}
?>
?>