Properly use an integer
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
7ef24654cf
commit
88a93503ca
@ -90,7 +90,7 @@ class TokenManager {
|
|||||||
|
|
||||||
$row = new Wopi();
|
$row = new Wopi();
|
||||||
$serverHost = $this->urlGenerator->getAbsoluteURL('/');//$this->request->getServerProtocol() . '://' . $this->request->getServerHost();
|
$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 {
|
try {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user