Avoid phpstan error
This commit is contained in:
parent
05f3111134
commit
25e761bfa5
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ if (GETPOSTINT('clearlist') && $permissiontocreate) {
|
|||
*/
|
||||
}
|
||||
|
||||
if (GETPOSTINT('exportcsv') && $permissiontoread) {
|
||||
if (GETPOSTINT('exportcsv') && $permissiontoread) { // @phpstan-ignore-line
|
||||
$completefilename = 'targets_emailing'.$object->id.'_'.dol_print_date(dol_now(), 'dayhourlog').'.csv';
|
||||
header('Content-Type: text/csv');
|
||||
header('Content-Disposition: attachment;filename='.$completefilename);
|
||||
|
|
|
|||
Loading…
Reference in a new issue