fix: typo in xpath prevented parsing of selection groups

This commit is contained in:
Björn Fromme
2025-03-24 15:46:46 +01:00
parent cdf265795f
commit 1498bdb53b
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ class TravelLoader extends AbstractLoader
$travel->code = $node->attr('code');
$travel->type = $node->attr('reiseart');
$travel->priceFrom = $this->stringToFloat($this->getStringOrNullValue($node->filterXPath('//abpreis')));
$travel->selectionGroups = $this->getSelectionGroups($node->filterXPath('//selektionsgruppe'));
$travel->selectionGroups = $this->getSelectionGroups($node->filterXPath('//selektiongruppe'));
$travel->additionalServices = $this
->getAdditionalServices($node->filterXPath('//lei_sonstiges/leistung'));
$travel->transportationServices = $this