aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/streams-json-v1.php1
-rw-r--r--view/streams-json-v2.php1
2 files changed, 2 insertions, 0 deletions
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();