fix: keep booked transportation services even if unavailable

This commit is contained in:
Björn Fromme
2025-05-02 10:04:25 +02:00
parent 1322d9dae3
commit 5f2688945a
3 changed files with 8 additions and 2 deletions
+1
View File
@@ -234,6 +234,7 @@ class TravelLoader extends AbstractLoader
$service->dateTo = $this->stringToDate($serviceNode->attr('bis'));
$service->label = $this->getStringOrNullValue($serviceNode->filterXPath('//text'));
$service->direction = $this->getStringOrNullValue($serviceNode->filterXPath('//richtung'));
$service->status = $this->getStringOrNullValue($serviceNode->filterXPath('//status'));
$transportationServices[$serviceId] = $service;
});