Skip to content

Commit

Permalink
Merge pull request #3132 from nextcloud/backport/3115/stable27
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Aug 23, 2023
2 parents fbd4fa0 + 4cee4f3 commit 09b4c1d
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 09b4c1d

Please sign in to comment.