From 4f0a32091fae216359f985b9e6bf33af903035eb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 5 Jun 2020 12:29:12 +0800 Subject: [PATCH] GnumericToExcel.php --- GnumericToExcel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnumericToExcel.php b/GnumericToExcel.php index ce965f75..824db5be 100644 --- a/GnumericToExcel.php +++ b/GnumericToExcel.php @@ -78,7 +78,7 @@ class Pman_Core_GnumericToExcel extends Pman $srcTmp = ini_get('session.save_path') . '/' .uniqid('gnumeric_').'.gnumeric'; - $targetTmp = ini_get('session.save_path') . '/' .uniqid('gnumeric_').'.xls'; + $targetTmp = ini_get('session.save_path') . '/' .uniqid('gnumeric_') . $ext; // write the gnumeric file... $fh = fopen($srcTmp,'w'); fwrite($fh, $xml); -- 2.39.2