From: Alan Knowles Date: Fri, 5 Jun 2020 06:20:22 +0000 (+0800) Subject: GnumericToExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=982ef58f084a3bea00eff61af2d08c1f8575e451 GnumericToExcel.php --- diff --git a/GnumericToExcel.php b/GnumericToExcel.php index 43424ba0..cda55bf7 100644 --- a/GnumericToExcel.php +++ b/GnumericToExcel.php @@ -107,10 +107,9 @@ class Pman_Core_GnumericToExcel extends Pman if (!empty($_POST['format']) && $_POST['format']=='xlsx') { require_once 'File/Convert.php'; $cc = new File_Convert($targetTmp,'application/vnd.ms-excel'); - $cc->debug = 1; + $targetTmp = $cc->convert('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); - var_Dump($targetTmp);exit; - } + }