MDL-37281 fix other users current navigation node
authorPetr Škoda <commits@skodak.org>
Sat, 22 Dec 2012 13:58:39 +0000 (14:58 +0100)
committerPetr Škoda <commits@skodak.org>
Sat, 22 Dec 2012 13:59:40 +0000 (14:59 +0100)
enrol/otherusers.php

index 52b34bf..2665b2f 100644 (file)
@@ -47,6 +47,7 @@ $PAGE->set_pagelayout('admin');
 $manager = new course_enrolment_manager($PAGE, $course, $filter);
 $table = new course_enrolment_other_users_table($manager, $PAGE);
 $PAGE->set_url('/enrol/otherusers.php', $manager->get_url_params()+$table->get_url_params());
+navigation_node::override_active_url(new moodle_url('/enrol/otherusers.php', array('id' => $id)));
 
 $userdetails = array (
     'picture' => false,