mirror of
https://github.com/nextcloud/server.git
synced 2024-07-26 06:14:59 +02: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
@ -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 New Issue
Block a user