Update User model
This commit is contained in:
parent
0dc8a80645
commit
600ff5d9da
1 changed files with 3 additions and 1 deletions
|
@ -405,7 +405,9 @@ class User extends DataModel
|
|||
|
||||
public function fLog(): string
|
||||
{
|
||||
return "id:{$this->id} gid:{$this->group_id} name:{$this->username}";
|
||||
return $this->isGuest
|
||||
? "id:{$this->id} gid:{$this->group_id} guest"
|
||||
: "id:{$this->id} gid:{$this->group_id} name:{$this->username}";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue