Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > d742beb7d2162e7cc9b52c7853fef15c > files > 2

moodle-2.8.6-1.mga5.src.rpm

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.