diff --git a/enrol/manual/manage.php b/enrol/manual/manage.php index 94fdc63..8c5a965 100644 --- a/enrol/manual/manage.php +++ b/enrol/manual/manage.php @@ -66,7 +66,11 @@ navigation_node::override_active_url(new moodle_url('/enrol/users.php', array('i // Create the user selector objects. $options = array('enrolid' => $enrolid, 'accesscontext' => $context); + $potentialuserselector = new enrol_manual_potential_participant('addselect', $options); +$extra_fields[0] = "description"; +$extra_fields[1] = "email"; +$potentialuserselector->set_extra_fields($extra_fields); $currentuserselector = new enrol_manual_current_participant('removeselect', $options); // Build the list of options for the enrolment period dropdown.