Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDave Conroy <23528985+tiredofit@users.noreply.github.com>2021-04-03 19:31:23 +0300
committerGitHub <noreply@github.com>2021-04-03 19:31:23 +0300
commit7401d174991358dad2f92d697d51095ed64496bf (patch)
treef495ad3b10e5b47d75b8d673067b9c2f2f7f52e7 /lib
parent6c91ca99f80ef3e8b4454c441b3f810823181934 (diff)
Fix OOXML template extension
Making OOXML spreadsheets unable to be created
Diffstat (limited to 'lib')
-rw-r--r--lib/AppInfo/Application.php2
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');