Last bugfixes

This commit is contained in:
2026-05-01 14:04:56 +02:00
parent b291c05da7
commit 188735e4aa
+1 -1
View File
@@ -141,7 +141,7 @@ class EventParticipant extends InstancedModel
} }
public function getFullName() : string { public function getFullName() : string {
if ($this->nickname === null) { if ($this->nickname === null || trim($this->nickname) === '') {
return sprintf('%1$s %2$s', $this->firstname, $this->lastname) return sprintf('%1$s %2$s', $this->firstname, $this->lastname)
|>trim(...); |>trim(...);
} }