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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/TokenManager.php')
-rw-r--r--lib/TokenManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TokenManager.php b/lib/TokenManager.php
index 90eb420a..503c25e9 100644
--- a/lib/TokenManager.php
+++ b/lib/TokenManager.php
@@ -280,7 +280,7 @@ class TokenManager {
$serverHost = $this->urlGenerator->getAbsoluteURL('/');
if ($this->capabilitiesService->hasTemplateSource()) {
- $wopi = $this->wopiMapper->generateFileToken($targetFile->getId(), $owneruid, $editoruid, 0, $updatable, $serverHost, null, 0, false, $direct, false, $templateFile->getId());
+ $wopi = $this->wopiMapper->generateFileToken($targetFile->getId(), $owneruid, $editoruid, 0, $updatable, $serverHost, null, 0, false, $direct, $templateFile->getId());
} else {
// Legacy way of creating new documents from a template
$wopi = $this->wopiMapper->generateFileToken($templateFile->getId(), $owneruid, $editoruid, 0, $updatable, $serverHost, null, $targetFile->getId(), $direct);