From 50f99f6a44f3b35f8ca81e0bc5f42e2693192642 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 12 May 2018 16:45:47 +0200 Subject: [PATCH] fix export extension --- build/api/module/department/exportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/api/module/department/exportController.php b/build/api/module/department/exportController.php index ccefcea..6d61aa0 100644 --- a/build/api/module/department/exportController.php +++ b/build/api/module/department/exportController.php @@ -173,7 +173,7 @@ class exportController return [ 'headers' => [ 'Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'Content-Disposition' => 'attachment; filename=archive.xsl' + 'Content-Disposition' => 'attachment; filename=archive.xls' ], 'body' => file_get_contents($tmpFilename) ];