fix: use correct property path for travel date determination

This commit is contained in:
Björn Fromme
2026-03-16 12:02:27 +01:00
parent 9c9db05b86
commit b5e2b2a2ad
@@ -70,7 +70,7 @@ class DraftBackfillTravelDateCommand extends Command
continue; continue;
} }
$travelDate = $bookingData->travel->dateFrom ?? null; $travelDate = $bookingData->travelDate;
if (null === $travelDate) { if (null === $travelDate) {
$io->warning(sprintf('No travel date found for booking %d', $bookingId)); $io->warning(sprintf('No travel date found for booking %d', $bookingId));