From b9daa5cb2d8bcb6dbb0ba8d4dca32e9cf5ad068b Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Mon, 22 Sep 2008 15:51:15 +0200 Subject: [PATCH] [svn r16409] remove bugging content length (it was false and made the download failing on ie) FS#2725 --- main/survey/reporting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/survey/reporting.php b/main/survey/reporting.php index 18c6990e0e..7eafe1d834 100644 --- a/main/survey/reporting.php +++ b/main/survey/reporting.php @@ -24,7 +24,7 @@ * @package dokeos.survey * @author unknown, the initial survey that did not make it in 1.8 because of bad code * @author Patrick Cool , Ghent University: cleanup, refactoring and rewriting large parts of the code -* @version $Id: reporting.php 16249 2008-09-05 15:46:31Z elixir_inter $ +* @version $Id: reporting.php 16409 2008-09-22 13:51:15Z elixir_inter $ * * @todo The question has to be more clearly indicated (same style as when filling the survey) */ @@ -59,7 +59,7 @@ if ($_POST['export_report']) header('Content-type: application/octet-stream'); header('Content-Type: application/force-download'); - header('Content-length: '.$len); + if (preg_match("/MSIE 5.5/", $_SERVER['HTTP_USER_AGENT'])) { header('Content-Disposition: filename= '.$filename);