mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4747 - Broken XLSX Templates created
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user