From ba71c1bcd5fe7211b6d0022f824ec257bdd451d1 Mon Sep 17 00:00:00 2001 From: acognet Date: Mon, 14 Feb 2022 15:23:10 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B04747=20-=20Broken=20XLSX=20Templates=20c?= =?UTF-8?q?reated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ajax.csvimport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/ajax.csvimport.php b/pages/ajax.csvimport.php index cb6690e53..de1faef78 100644 --- a/pages/ajax.csvimport.php +++ b/pages/ajax.csvimport.php @@ -404,7 +404,7 @@ EOF if ($sDisposition == 'attachment') { switch ($sFormat) { case 'xlsx': - $oPage = new AjaxPage(""); + $oPage = new DownloadPage(""); $oPage->SetContentType('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); $oPage->SetContentDisposition('attachment', $sClassDisplayName.'.xlsx'); require_once(APPROOT.'/application/excelexporter.class.inc.php');