From 188735e4aa6d2f48db7b39038038a3858af5ef05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Fri, 1 May 2026 14:04:56 +0200 Subject: [PATCH] Last bugfixes --- app/Models/EventParticipant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/EventParticipant.php b/app/Models/EventParticipant.php index 64c1604..4da71a2 100644 --- a/app/Models/EventParticipant.php +++ b/app/Models/EventParticipant.php @@ -141,7 +141,7 @@ class EventParticipant extends InstancedModel } 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) |>trim(...); }