From 20305dd86663f4806c4c8b170d5dd6489684fbea Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 5 Jun 2020 14:13:09 +0800 Subject: [PATCH 1/1] GnumericToExcel.php --- GnumericToExcel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/GnumericToExcel.php b/GnumericToExcel.php index 244ed1f3..a7d869a1 100644 --- a/GnumericToExcel.php +++ b/GnumericToExcel.php @@ -105,6 +105,7 @@ class Pman_Core_GnumericToExcel extends Pman die("ERROR CONVERTING?:" . $cmd ."\n

OUTPUT:". htmlspecialchars($out)); } if (!empty($_POST['format']) && $_POST['format']=='xlsx') { + require_once 'File/Convert.php'; $cc = new File_Convert($targetTmp,'application/vnd.ms-excel'); $targetTmp = $cc->convert('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); } -- 2.39.2