MDL-72403 calendar: prereserve courseid after form submit

This commit is contained in:
Shamim Rezaie
2021-08-24 18:05:00 +10:00
parent f9ea7e747f
commit a45b9e347f
+1 -1
View File
@@ -140,7 +140,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();