diff --git a/edit.php b/edit.php index e91733e..49b7048 100644 --- a/edit.php +++ b/edit.php @@ -43,7 +43,7 @@ if ($instanceid) { $instance->courseid = $course->id; } -$mform = new enrol_self_edit_form(NULL, array($instance, $plugin, $context)); +$mform = new enrol_apply_edit_form(NULL, array($instance, $plugin, $context)); if ($mform->is_cancelled()) { redirect($return); diff --git a/edit_form.php b/edit_form.php index ed97deb..bc0cc1c 100644 --- a/edit_form.php +++ b/edit_form.php @@ -14,7 +14,7 @@ defined('MOODLE_INTERNAL') || die(); require_once($CFG->libdir.'/formslib.php'); -class enrol_self_edit_form extends moodleform { +class enrol_apply_edit_form extends moodleform { function definition() { $mform = $this->_form;