Skip to content

Commit

Permalink
Merge pull request #3133 from nextcloud/backport/3115/stable26
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Aug 23, 2023
2 parents 5cfc949 + 3484edd commit 98558f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TemplateManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ public function formatNodeReturn(File $template) {
'preview' => $this->urlGenerator->linkToRouteAbsolute('richdocuments.templates.getPreview', ['fileId' => $template->getId()]),
'type' => $this->flipTypes()[$template->getMimeType()],
'delete' => $this->urlGenerator->linkToRouteAbsolute('richdocuments.templates.delete', ['fileId' => $template->getId()]),
'extension' => $template->getExtension(),
'extension' => ($ooxml && isset(self::TYPE_EXTENSION_OOXML[$documentType])) ? self::TYPE_EXTENSION_OOXML[$documentType] : self::TYPE_EXTENTION[$documentType],
];
}

Expand Down

0 comments on commit 98558f0

Please sign in to comment.