diff options
author | Dave Conroy <23528985+tiredofit@users.noreply.github.com> | 2021-04-03 19:31:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 19:31:23 +0300 |
commit | 7401d174991358dad2f92d697d51095ed64496bf (patch) | |
tree | f495ad3b10e5b47d75b8d673067b9c2f2f7f52e7 | |
parent | 6c91ca99f80ef3e8b4454c441b3f810823181934 (diff) |
Fix OOXML template extension
Making OOXML spreadsheets unable to be created
-rw-r--r-- | lib/AppInfo/Application.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 285b499a..9f07bbb0 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -100,7 +100,7 @@ class Application extends App implements IBootstrap { return $odtType; }); $templateManager->registerTemplateFileCreator(function () use ($l10n, $ooxml) { - $odsType = new TemplateFileCreator('richdocuments', $l10n->t('New spreadsheet'), ($ooxml ? '.xslx' : '.ods')); + $odsType = new TemplateFileCreator('richdocuments', $l10n->t('New spreadsheet'), ($ooxml ? '.xlsx' : '.ods')); if ($ooxml) { $odsType->addMimetype('application/vnd.ms-excel'); $odsType->addMimetype('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); |