Explorar o código

Fix User model

Visman %!s(int64=3) %!d(string=hai) anos
pai
achega
1d8ecda60b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
     }
 
     /**