fix schedule display with unknown rooms

This commit is contained in:
MaZderMind 2016-03-25 13:12:07 +01:00
parent ddbe235e28
commit 53fa8f43e5

View file

@ -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'])?>