Merge pull request #18152 from nextcloud/bugfix/noid/direct-editing-postgres

Fix direct editing access check on Postgres
This commit is contained in:
blizzz 2019-11-28 17:23:11 +01:00 committed by GitHub
commit a6ae8012ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class Token implements IToken {
}
public function hasBeenAccessed(): bool {
return $this->data['accessed'] === '1';
return (bool) $this->data['accessed'];
}
public function getEditor(): string {