Fix User model

This commit is contained in:
Visman 2021-12-04 21:05:16 +07:00
parent b86680fe26
commit 1d8ecda60b

View file

@ -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;
}
/**