Browse Source

Fix User model

Visman 3 years ago
parent
commit
1d8ecda60b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Models/User/User.php

+ 2 - 2
app/Models/User/User.php

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