From: Nicolas Iooss Date: Wed, 9 Apr 2014 21:08:36 +0000 (+0200) Subject: admin/emails/broken: name the downloaded file "broken.csv" X-Git-Tag: xorg/1.1.13~33 X-Git-Url: http://git.polytechnique.org/?p=platal.git;a=commitdiff_plain;h=9c15cc9f0baece0f0f16779b75a5c48e1b74079a admin/emails/broken: name the downloaded file "broken.csv" --- diff --git a/modules/email.php b/modules/email.php index 78cef2d..b78cfe7 100644 --- a/modules/email.php +++ b/modules/email.php @@ -918,7 +918,7 @@ class EmailModule extends PLModule // Output the list of users with recently broken addresses, // along with the count of valid redirections. - pl_cached_content_headers('text/x-csv', 1); + pl_cached_content_headers('text/x-csv', null, 1, 'broken.csv'); $csv = fopen('php://output', 'w'); fputcsv($csv, array('nom', 'promo', 'bounces', 'nbmails', 'url', 'corps', 'job', 'networking'), ';');