diff options
Diffstat (limited to 'lib/TokenManager.php')
-rw-r--r-- | lib/TokenManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TokenManager.php b/lib/TokenManager.php index 5cf085d9..3c39afd3 100644 --- a/lib/TokenManager.php +++ b/lib/TokenManager.php @@ -259,7 +259,7 @@ class TokenManager { $serverHost = $this->urlGenerator->getAbsoluteURL('/'); if ($this->capabilitiesService->hasTemplateSource()) { - $wopi = $this->wopiMapper->generateFileToken($targetFile->getId(), $owneruid, $editoruid, 0, (int)$updatable, $serverHost, null, 0, false, false, false, $templateFile->getId()); + $wopi = $this->wopiMapper->generateFileToken($targetFile->getId(), $owneruid, $editoruid, 0, (int)$updatable, $serverHost, null, 0, false, $direct, false, $templateFile->getId()); } else { // Legacy way of creating new documents from a template $wopi = $this->wopiMapper->generateFileToken($templateFile->getId(), $owneruid, $editoruid, 0, (int)$updatable, $serverHost, null, $targetFile->getId(), $direct); |