Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates-src > by-pkgid > eab954301574539e35d08e59ce87c3f1 > files > 2

moodle-2.8.9-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.