aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2016-03-25 13:12:07 +0100
committerMaZderMind2016-03-25 13:12:07 +0100
commit53fa8f43e56466b1de9848624db5f986df8bdb88 (patch)
tree9d80022a1e570a2ea9710fbef90c1f4e07e50bb2
parentddbe235e2828e70a208d7741fc9d645cd18345c2 (diff)
fix schedule display with unknown rooms
-rw-r--r--template/assemblies/schedule.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml
index b47f30d..482ea39 100644
--- a/template/assemblies/schedule.phtml
+++ b/template/assemblies/schedule.phtml
@@ -39,7 +39,7 @@
–
<?=h(strftime('%H:%M', $event['end']))?>
&nbsp;in&nbsp;
- <?=h($scheduleRoom->getDisplay()) ?>
+ <?=h($scheduleRoom ? $scheduleRoom->getDisplay() : $roomname) ?>
</h4>
<h3>
<?=h($event['title'])?>