Fix redirection

pull/2487/head
jmontoyaa 8 years ago
parent d58ec0c912
commit 93eaa07227
  1. 4
      plugin/bbb/listing.php

@ -30,8 +30,7 @@ if ($bbb->isGlobalConference()) {
api_protect_course_script(true); api_protect_course_script(true);
} }
$message = null; $message = '';
if ($conferenceManager) { if ($conferenceManager) {
switch ($action) { switch ($action) {
case 'add_to_calendar': case 'add_to_calendar':
@ -76,6 +75,7 @@ if ($conferenceManager) {
Display::addFlash($message); Display::addFlash($message);
header('Location: '.$bbb->getListingUrl()); header('Location: '.$bbb->getListingUrl());
exit;
break; break;
case 'end': case 'end':
$bbb->endMeeting($_GET['id']); $bbb->endMeeting($_GET['id']);

Loading…
Cancel
Save