diff --git a/course/edit.php b/course/edit.php index 2072fe044ba..af9f061eec6 100644 --- a/course/edit.php +++ b/course/edit.php @@ -151,7 +151,7 @@ $args = array( 'returnto' => $returnto, 'returnurl' => $returnurl ); -$editform = new course_edit_form(null, $args); +$editform = new course_edit_form(null, $args, 'post', '', ['data-double-submit-protection' => 'off']); if ($editform->is_cancelled()) { // The form has been cancelled, take them back to what ever the return to is. redirect($returnurl);