diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/closed.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/closed.php b/view/closed.php index e1b126c..3346aad 100644 --- a/view/closed.php +++ b/view/closed.php @@ -1,10 +1,12 @@ <?php $upcoming = new Upcoming(); +$events = $upcoming->getNextEvents(); echo $tpl->render(array( 'page' => 'closed', 'title' => 'See you soon … somewhere else!', - 'upcoming' => $upcoming->getNextEvent(), + 'next' => @$events[0], + 'events' => $events, )); |