Last bugfixes
This commit is contained in:
@@ -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(...);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user