diff options
author | MaZderMind | 2015-03-31 17:16:40 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-31 17:16:40 +0200 |
commit | 3de36d7a63fe91127f3413d58004bbd6505864a3 (patch) | |
tree | 4cc04b1e7a4567dbfa3b752f1791695f275771fd /view | |
parent | c01f7979db801aca3cd42234cc4a7fafaec0a9cd (diff) |
Remove Global has/get
Diffstat (limited to 'view')
-rw-r--r-- | view/program-json.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/program-json.php b/view/program-json.php index 08f4289..739b71b 100644 --- a/view/program-json.php +++ b/view/program-json.php @@ -5,4 +5,4 @@ if(!$schedule->isEnabled()) throw new NotFoundException('Schedule is disabled'); header('Content-Type: application/json'); -echo json_encode(program()); +echo json_encode($schedule->getSchedule()); |