From e7e4b690cd094a337d10a514f79b224fdaac0a39 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 31 Mar 2015 07:00:00 +0200 Subject: Fix getSelections() --- model/Room.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/Room.php b/model/Room.php index 12c8881..3f0cbb2 100644 --- a/model/Room.php +++ b/model/Room.php @@ -199,7 +199,7 @@ class Room extends ModelBase { $selections = array(); foreach($this->getSelectionNames() as $selection) - $selections[$tab] = $this->createSelectionObject($selection); + $selections[$selection] = $this->createSelectionObject($selection); return $selections; } -- cgit v1.2.3