Skip to content

Commit

Permalink
navigation MDL-22903 Changed method groupings node was being found ac…
Browse files Browse the repository at this point in the history
…tive
  • Loading branch information
Sam Hemelryk committed Jul 23, 2010
1 parent 3d5904f commit d1021c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions group/groupings.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
$strparticipants = get_string('participants');
$strmanagegrping = get_string('showgroupsingrouping', 'group');

$basemenu = ($course->id == SITEID) ? 'frontpage' : 'courseadmin';
$PAGE->settingsnav->get($basemenu)->get('users')->get('groups')->make_active();
navigation_node::override_active_url(new moodle_url('/group/index.php', array('id'=>$courseid)));
$PAGE->navbar->add($strgroupings);

/// Print header
Expand Down

0 comments on commit d1021c7

Please sign in to comment.