Fix OTS_House houseid parameter

This commit is contained in:
slawkens 2020-03-17 22:41:37 +01:00
parent b4645553f2
commit ab94d0e752

View File

@ -43,7 +43,7 @@ class OTS_HousesList implements IteratorAggregate, Countable, ArrayAccess
foreach( $houses->getElementsByTagName('house') as $house)
{
$this->houses[ (int) $house->getAttribute('houseid') ] = new OTS_House($house);
$this->houses[ (int) $house->getAttribute('houseid') ] = new OTS_House($house->getAttribute('houseid'));
}
}