SimpleExcel.php
authorChris <chris@roojs.com>
Wed, 28 Nov 2012 07:27:32 +0000 (15:27 +0800)
committerChris <chris@roojs.com>
Wed, 28 Nov 2012 07:27:32 +0000 (15:27 +0800)
SimpleExcel.php

index 140baa7..943c6f5 100644 (file)
@@ -50,7 +50,7 @@ class Pman_Core_SimpleExcel extends Pman
         require_once 'Spreadsheet/Excel/Writer.php';
         $pman = new Pman();
         // Creating a workbook
-        $outfile2 = $pman->tempName('xls');
+        $outfile2 = $this->tempName('xls');
        // var_dump($outfile2);
         $workbook = new Spreadsheet_Excel_Writer($outfile2);
         //$workbook = new Spreadsheet_Excel_Writer();