aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorMaZderMind2015-03-31 08:24:15 +0200
committerMaZderMind2015-03-31 08:24:15 +0200
commit97d076912a85e031dd4652001ebdc16b454816b9 (patch)
tree1a75cc9866bd79467882ed8a805eccf1a7b32a2c /model
parentfdffee12ed18ec937a055103302232ee1a949fe3 (diff)
Fix static Room-List getter
Diffstat (limited to '')
-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;