From 9c15cc9f0baece0f0f16779b75a5c48e1b74079a Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Wed, 9 Apr 2014 23:08:36 +0200 Subject: [PATCH] admin/emails/broken: name the downloaded file "broken.csv" --- modules/email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), ';'); -- 2.1.4