Update xml_cdr_export.php
This commit is contained in:
parent
1076c99d63
commit
70e3865d42
|
|
@ -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 @@
|
|||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue