MDL-72403 calendar: prereserve courseid after form submit

This commit is contained in:
Shamim Rezaie 2021-08-24 17:55:05 +10:00
parent 1464843a25
commit fc26c19c19

View File

@ -146,7 +146,7 @@ $formdata = array(
);
// Disable submit protection so that the submit buttons continue working after being pressed.
$exportform = new core_calendar_export_form(null, $formdata, 'POST', '', ['data-double-submit-protection' => 'off']);
$exportform = new core_calendar_export_form($FULLME, $formdata, 'POST', '', ['data-double-submit-protection' => 'off']);
$calendarurl = '';
if ($data = $exportform->get_data()) {
$params = array();