From 1e87c10747993621e51d3970f47b876aa6602e08 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 12 Oct 2004 13:29:06 +0000 Subject: [PATCH] fixed mime type for CSV output --- lam/templates/masscreate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/templates/masscreate.php b/lam/templates/masscreate.php index ef7bfdb8..45eb0a86 100644 --- a/lam/templates/masscreate.php +++ b/lam/templates/masscreate.php @@ -56,7 +56,7 @@ if (isset($_GET['getCSV'])) { Header('Content-Type: application/force-download'); } else { - Header('Content-Type: text/plain'); + Header('Content-Type: application/msexcel'); } Header('Content-disposition: attachment; filename=lam.csv'); echo $_SESSION['mass_csv'];