aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template/overview.phtml8
1 files changed, 5 insertions, 3 deletions
diff --git a/template/overview.phtml b/template/overview.phtml
index 8e26423..ef40c63 100644
--- a/template/overview.phtml
+++ b/template/overview.phtml
@@ -9,9 +9,11 @@
<? foreach($overview->getGroups() as $group => $rooms): ?>
<div class="row room-group">
- <div class="col-xs-12">
- <h2><?=h($group)?></h2>
- </div>
+ <? if($group): ?>
+ <div class="col-xs-12">
+ <h2><?=h($group)?></h2>
+ </div>
+ <? endif ?>
<? $count = count($rooms); ?>
<? foreach($rooms as $idx => $room): ?>