diff --git a/site/models/event.php b/site/models/event.php index a67ef0b..0811f6e 100644 --- a/site/models/event.php +++ b/site/models/event.php @@ -5,7 +5,7 @@ class EventPage extends Page { $sessions = $this->isMapadoEvent() != 'true' ? $this->sessions()->toStructure() : $this->remoteSessions()->toStructure(); if ($sessions->isEmpty()) { - throw new Exception('Can\'t define sessions for event "' . $this->title()->value() . '". No sessions found.', 1); + return ''; } try {