SimpleExcel.php
authorEdward <edward@roojs.com>
Mon, 22 Jul 2013 05:30:28 +0000 (13:30 +0800)
committerEdward <edward@roojs.com>
Mon, 22 Jul 2013 05:30:28 +0000 (13:30 +0800)
SimpleExcel.php

index afa8a3a..2d5730e 100644 (file)
@@ -299,7 +299,7 @@ class Pman_Core_SimpleExcel 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',$fname); // can fix IE Mess
     }