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