mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 14:44:21 +00:00
Fix static Room-List getter
This commit is contained in:
parent
fdffee12ed
commit
97d076912a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class Room extends ModelBase
|
|||
public static function rooms()
|
||||
{
|
||||
$rooms = array();
|
||||
foreach(ModelBase::get('ROOMS') as $slug => $room)
|
||||
foreach(ModelBase::staticGet('ROOMS') as $slug => $room)
|
||||
$rooms[] = new Room($slug);
|
||||
|
||||
return $rooms;
|
||||
|
|
Loading…
Reference in a new issue