mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-30 06:56:51 +01:00
Fix OTS_House houseid parameter
This commit is contained in:
@@ -43,7 +43,7 @@ class OTS_HousesList implements IteratorAggregate, Countable, ArrayAccess
|
|||||||
|
|
||||||
foreach( $houses->getElementsByTagName('house') as $house)
|
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'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user