fix: restore room occupancy lost to case-sensitive xml attribute lookup
This commit is contained in:
1 parent
24df764efb
commit
e14d29f7d4
10 files changed
+223
-16
No files matched your search
@@ -381,8 +381,8 @@ class TravelParser extends AbstractParser
|
||||
$room->category = $this->getAttrOrNullValue($roomNode, 'kat');
|
||||
$room->boardId = (int) $this->getAttrOrNullValue($roomNode, 'idbuspro_vp');
|
||||
$room->label = $this->getAttrOrNullValue($roomNode, 'zimmertext');
|
||||
$room->minPax = (int) $this->getAttrOrNullValue($roomNode, 'minpax');
|
||||
$room->maxPax = (int) $this->getAttrOrNullValue($roomNode, 'maxpax');
|
||||
$room->minPax = $this->getIntAttrOrNullValue($roomNode, 'minpax');
|
||||
$room->maxPax = $this->getIntAttrOrNullValue($roomNode, 'maxpax');
|
||||
$room->nights = (int) $this->getAttrOrNullValue($roomNode, 'naechte');
|
||||
$roomPrice = $this->getAttrOrNullValue($roomNode, 'preis');
|
||||
$room->price = null !== $roomPrice && '' !== $roomPrice
|
||||
|
||||
Reference in new issue
Block a user