fix: avoid null-pointer exception
This commit is contained in:
@@ -322,7 +322,7 @@ class ParticipantType extends AbstractType
|
||||
return;
|
||||
}
|
||||
|
||||
$transportationId = $data['transportationServiceTo'];
|
||||
$transportationId = $data['transportationServiceTo'] ?? null;
|
||||
$transportation = $options['travel']->pickups[$transportationId] ?? null;
|
||||
|
||||
if (null !== $transportation && 'PKW' === $transportation->subType) {
|
||||
|
||||
Reference in New Issue
Block a user