[Controller][Security] Fullname is not setup automatically upon registering anymore.

[ENTITY][Actor] Changes to accomodate fullname from potentially being null.
[ENTITY][Note] Changes to accomodate fullname from potentially being null.
This commit is contained in:
2021-10-29 22:05:10 +01:00
parent ac8513741d
commit 91dd6e1428
4 changed files with 9 additions and 6 deletions

View File

@@ -241,7 +241,7 @@ class Note extends Entity
return Actor::getNicknameById($this->actor_id);
}
public function getActorFullname(): string
public function getActorFullname(): ?string
{
return Actor::getFullnameById($this->actor_id);
}