diff --git a/course/edit_form.php b/course/edit_form.php index 8f7e87532a819..afd3d1a4bca92 100644 --- a/course/edit_form.php +++ b/course/edit_form.php @@ -190,7 +190,9 @@ function definition() { } //-------------------------------------------------------------------------------- + // Just a placeholder.. $mform->addElement('hidden', 'addcourseformatoptionshere'); + $mform->setType('addcourseformatoptionshere', PARAM_BOOL); //-------------------------------------------------------------------------------- enrol_course_edit_form($mform, $course, $context);