diff options
-rw-r--r-- | model/Room.php | 2 |
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; |