#17 show event pages without sessions define
This commit is contained in:
parent
8b1bd2df26
commit
8a76ab6821
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue