aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template/assemblies/schedule.phtml6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml
index 62eb077..461353c 100644
--- a/template/assemblies/schedule.phtml
+++ b/template/assemblies/schedule.phtml
@@ -17,7 +17,11 @@
<? if($scheduleRoom): ?>
<a
class="inner"
- href="<?=h($scheduleRoom->createTabObject()->getLink($roomname))?>"
+ <? if (isset($stream)): ?>
+ href="<?=h($scheduleRoom->createTabObject($stream->getSelection())->getLink($roomname))?>"
+ <? else: ?>
+ href="<?=h($scheduleRoom->createTabObject()->getLink($roomname))?>"
+ <? endif ?>
title="Switch to <?=h($scheduleRoom->getDisplay())?>"
>
<? else: ?>