From 49c33d7c30309e5942c6535a4c38527786817a21 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 9 Jul 2001 15:58:05 +0000 Subject: [PATCH] Duplicate possible transy IE download fix in HEAD --- phpgwapi/inc/class.browser.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.browser.inc.php b/phpgwapi/inc/class.browser.inc.php index 1a53e4dd04..152da8a65a 100644 --- a/phpgwapi/inc/class.browser.inc.php +++ b/phpgwapi/inc/class.browser.inc.php @@ -264,8 +264,12 @@ } // Echo content headers for file downloads - function content_header($fn='',$mime='application/octet-stream',$length='',$nocache=True) + function content_header($fn='',$mime='',$length='',$nocache=True) { + if (!$mime) + { + $mime='application/octet-stream'; + } if ($fn) { if ($this->get_agent() == 'IE') // && browser_get_version() == "5.5")