소스 검색

Fix User model

Visman 3 년 전
부모
커밋
1d8ecda60b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;
     }
 
     /**