Merge branch 'MDL-35730_22' of https://github.com/aolley/moodle into MOODLE_22_STABLE

This commit is contained in:
Sam Hemelryk
2012-10-08 10:05:52 +13:00
+1 -1
View File
@@ -64,7 +64,7 @@ $PAGE->set_heading($course->fullname);
navigation_node::override_active_url(new moodle_url('/enrol/users.php', array('id'=>$course->id)));
// Create the user selector objects.
$options = array('enrolid' => $enrolid);
$options = array('enrolid' => $enrolid, 'accesscontext' => $context);
$potentialuserselector = new enrol_manual_potential_participant('addselect', $options);
$currentuserselector = new enrol_manual_current_participant('removeselect', $options);