aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to 'model/Room.php')
-rw-r--r--model/Room.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Room.php b/model/Room.php
index 3f0cbb2..3235016 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -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;