JSON: get 'schedule' working

This commit is contained in:
Franziska Kunsmann 2024-05-24 16:42:51 +02:00
parent dfd24b1ab2
commit 4a67b3d2f2
No known key found for this signature in database
GPG key ID: 12E3D2136B818350

View file

@ -77,7 +77,7 @@ class ConferenceJson extends Conference
"releases" => "https://media.ccc.de/c/".$media_slug,
],
),
// 'schedule' => (array) $c->streamingConfig->schedule
'schedule' => isset($c->streamingConfig->schedule) ? (array)$c->streamingConfig->schedule : [],
'rooms' => $this->rooms,
'overview' => [
'groups' => $groups