aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
authorMaZderMind2017-01-01 14:44:39 +0100
committerMaZderMind2017-01-01 14:44:39 +0100
commit6e09caee5b9905387dd9978e45b6a783d02a6508 (patch)
tree33160a893c8fa930e3008b0efaafca585c86d8f5 /view
parent6a30bd15bafb8855799351c74012a2164341698b (diff)
repair streams-api on without conference
Diffstat (limited to '')
-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();