fix: avoid null pointer exception
This commit is contained in:
@@ -50,8 +50,8 @@ class PersonalData
|
||||
'titel' => $this->title,
|
||||
'vorname' => $this->firstName,
|
||||
'name' => $this->name,
|
||||
'anschrift' => $this->address->toPayload(),
|
||||
'kommunikation' => $this->communication->toPayload(),
|
||||
'anschrift' => $this->address?->toPayload(),
|
||||
'kommunikation' => $this->communication?->toPayload(),
|
||||
'sonstiges1' => $this->height,
|
||||
'sonstiges2' => $this->weight,
|
||||
'sonstiges3' => $this->shoeSize,
|
||||
|
||||
Reference in New Issue
Block a user