mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #18152 from nextcloud/bugfix/noid/direct-editing-postgres
Fix direct editing access check on Postgres
This commit is contained in:
commit
a6ae8012ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue