Fix User model
This commit is contained in:
parent
b86680fe26
commit
1d8ecda60b
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ class User extends DataModel
|
|||
protected function getisGuest(): bool
|
||||
{
|
||||
return FORK_GROUP_GUEST === $this->group_id
|
||||
|| null === $this->group_id;
|
||||
|| $this->id < 1
|
||||
|| null === $this->group_id
|
||||
|| $this->id < 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue