aboutsummaryrefslogtreecommitdiff
path: root/view/schedule-json.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--view/schedule-json.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/schedule-json.php b/view/schedule-json.php
index 9aea603..19346fd 100644
--- a/view/schedule-json.php
+++ b/view/schedule-json.php
@@ -1,6 +1,6 @@
<?php
-$schedule = new Schedule();
+$schedule = $conference->getSchedule();
if(!$schedule->isEnabled())
throw new NotFoundException('Schedule is disabled');