From 6e09caee5b9905387dd9978e45b6a783d02a6508 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 1 Jan 2017 14:44:39 +0100 Subject: repair streams-api on without conference --- view/streams-json-v1.php | 1 + view/streams-json-v2.php | 1 + 2 files changed, 2 insertions(+) diff --git a/view/streams-json-v1.php b/view/streams-json-v1.php index 19f7b0d..055f6bc 100644 --- a/view/streams-json-v1.php +++ b/view/streams-json-v1.php @@ -2,6 +2,7 @@ header('Content-Type: application/json'); +$struct = []; foreach (Conferences::getActiveConferences() as $conference) { $overview = $conference->getOverview(); diff --git a/view/streams-json-v2.php b/view/streams-json-v2.php index 1e4c89b..05d2af5 100644 --- a/view/streams-json-v2.php +++ b/view/streams-json-v2.php @@ -2,6 +2,7 @@ header('Content-Type: application/json'); +$struct = []; foreach (Conferences::getActiveConferences() as $conference) { $overview = $conference->getOverview(); -- cgit v1.2.3