admin/emails/broken: name the downloaded file "broken.csv"
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Wed, 9 Apr 2014 21:08:36 +0000 (23:08 +0200)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Wed, 9 Apr 2014 21:08:36 +0000 (23:08 +0200)
modules/email.php

index 78cef2d..b78cfe7 100644 (file)
@@ -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'), ';');