Fix extension
This commit is contained in:
parent
33f6206031
commit
9efc5a1b9d
@ -126,7 +126,7 @@ if (GETPOST('clearlist', 'int'))
|
|||||||
|
|
||||||
if (GETPOST('exportcsv', 'int'))
|
if (GETPOST('exportcsv', 'int'))
|
||||||
{
|
{
|
||||||
$completefilename = 'targets_emailing'.$object->id.'_'.dol_print_date(dol_now(), 'dayhourlog').'csv';
|
$completefilename = 'targets_emailing'.$object->id.'_'.dol_print_date(dol_now(), 'dayhourlog').'.csv';
|
||||||
header('Content-Type: text/csv');
|
header('Content-Type: text/csv');
|
||||||
header('Content-Disposition: attachment;filename=' . $completefilename);
|
header('Content-Disposition: attachment;filename=' . $completefilename);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user