Browse Source

Properly use an integer

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
tags/1.1.22
Lukas Reschke 3 years ago
parent
commit
88a93503ca
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/TokenManager.php

+ 1
- 1
lib/TokenManager.php View File

@@ -90,7 +90,7 @@ class TokenManager {

$row = new Wopi();
$serverHost = $this->urlGenerator->getAbsoluteURL('/');//$this->request->getServerProtocol() . '://' . $this->request->getServerHost();
$token = $row->generateFileToken($fileId, $file->getOwner()->getUID(), $this->userId, $version, $updatable, $serverHost);
$token = $row->generateFileToken($fileId, $file->getOwner()->getUID(), $this->userId, $version, (int)$updatable, $serverHost);

try {


Loading…
Cancel
Save