diff --git a/importexport/inc/class.importexport_export_ui.inc.php b/importexport/inc/class.importexport_export_ui.inc.php index d3ccf8900f..61192d66af 100644 --- a/importexport/inc/class.importexport_export_ui.inc.php +++ b/importexport/inc/class.importexport_export_ui.inc.php @@ -453,11 +453,11 @@ class importexport_export_ui { ($_GET['_type'] ? $_GET['_type'] : 'application/text') . ($charset ? '; charset='.$charset : ''), filesize($tmpfname)); - fpassthru($tmpfname); + readfile($tmpfname); unlink($tmpfname); // Try to avoid any extra finishing output exit(); } -} // end class uiexport +} // end class uiexport \ No newline at end of file