mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix OTS_House houseid parameter
This commit is contained in:
parent
b4645553f2
commit
ab94d0e752
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user