From 53fa8f43e56466b1de9848624db5f986df8bdb88 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 25 Mar 2016 13:12:07 +0100 Subject: fix schedule display with unknown rooms --- template/assemblies/schedule.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/assemblies') 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']))?> in - =h($scheduleRoom->getDisplay()) ?> + =h($scheduleRoom ? $scheduleRoom->getDisplay() : $roomname) ?>