diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 4b1056238c2..1c1cd8eb9af 100644 --- a/htdocs/comm/mailing/cibles.php +++ b/htdocs/comm/mailing/cibles.php @@ -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);