diff options
author | MaZderMind | 2018-05-12 01:57:14 +0200 |
---|---|---|
committer | MaZderMind | 2018-05-12 01:57:14 +0200 |
commit | 888bff1972e18a7f32d55fcc23cd4900d03c7d61 (patch) | |
tree | 5d4168fb824b5bac202c424682605deb1745b13b /template | |
parent | 2cf00ac475500f007bce90cf81d8d582208650c9 (diff) |
migrate logic to select current & upcoming talk into the Room class
Diffstat (limited to '')
-rw-r--r-- | template/overview.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/overview.phtml b/template/overview.phtml index 513f8e5..71414ec 100644 --- a/template/overview.phtml +++ b/template/overview.phtml @@ -65,7 +65,7 @@ <? endif ?> <? if($room->hasSchedule()): ?> - <? $upcoming = @$upcomingTalksPerRoom[ $room->getScheduleName() ] ?: [] ?> + <? $upcoming = @$upcomingTalksPerRoom[ $room->getSlug() ] ?: [] ?> <div class="program-schedule"> <div class="talk current-talk" title="<?=h(@$upcoming['current']['title'] ?: 'none') ?>"> <strong>Now (since <?=date('G:i', @$upcoming['current']['start']) ?>):</strong><br/> |