From: Alan Knowles Date: Mon, 21 Jan 2013 04:14:37 +0000 (+0800) Subject: JsonToExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=d29ef9ceb83696f7e7d825012aaa77cd669e31d1 JsonToExcel.php --- diff --git a/JsonToExcel.php b/JsonToExcel.php index 2e854f14..d58d3e27 100644 --- a/JsonToExcel.php +++ b/JsonToExcel.php @@ -74,8 +74,8 @@ class Pman_Core_JsonToExcel extends Pman require_once 'File/Convert.php'; $fc= new File_Convert($this->outfile2, "application/vnd.ms-excel"); $fn = $fc->convert("application/vnd.ms-excel"); - $fc->serve('attachment',$fn); // can fix IE Mess - + $fc->serve('attachment',$outfile2); // can fix IE Mess + unlink($outfile2); }