Skip to content

Commit

Permalink
MDL-32090 fix invalid group members url
Browse files Browse the repository at this point in the history
Credit goes to Jean-Philippe Gaudreau.
  • Loading branch information
skodak committed Mar 16, 2012
1 parent 3c4111e commit d42aaae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group/members.php
Expand Up @@ -20,7 +20,7 @@
$group = $DB->get_record('groups', array('id'=>$groupid), '*', MUST_EXIST); $group = $DB->get_record('groups', array('id'=>$groupid), '*', MUST_EXIST);
$course = $DB->get_record('course', array('id'=>$group->courseid), '*', MUST_EXIST); $course = $DB->get_record('course', array('id'=>$group->courseid), '*', MUST_EXIST);


$PAGE->set_url('/groups/members.php', array('id'=>$groupid)); $PAGE->set_url('/group/members.php', array('group'=>$groupid));
$PAGE->set_pagelayout('standard'); $PAGE->set_pagelayout('standard');


require_login($course); require_login($course);
Expand Down

0 comments on commit d42aaae

Please sign in to comment.