aboutsummaryrefslogtreecommitdiff
path: root/model/Overview.php
diff options
context:
space:
mode:
authorMaZderMind2015-03-14 18:59:33 +0100
committerMaZderMind2015-03-29 21:38:59 +0200
commit97fe6bf0af2989abbaaba138df3c54c4e55af3c9 (patch)
tree203f677848b3ab2e5dd7c6f83097ca95aea6eaf4 /model/Overview.php
parenta95c081a74a59b5ba9ea6f036b792b62100b3b57 (diff)
Use normal Constructor
Diffstat (limited to 'model/Overview.php')
-rw-r--r--model/Overview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Overview.php b/model/Overview.php
index 005233f..10507cc 100644
--- a/model/Overview.php
+++ b/model/Overview.php
@@ -12,7 +12,7 @@ class Overview
foreach($rooms as $room)
{
try {
- $groups[$group][] = Room::get($room);
+ $groups[$group][] = new Room($room);
}
catch(NotFountException $e)
{