MDL-35187 groups Adding admin pagelayout to group members edition
[moodle.git] / group / members.php
index a8b74ef..9a013bd 100644 (file)
@@ -35,7 +35,7 @@ $group = $DB->get_record('groups', array('id'=>$groupid), '*', MUST_EXIST);
 $course = $DB->get_record('course', array('id'=>$group->courseid), '*', MUST_EXIST);
 
 $PAGE->set_url('/group/members.php', array('group'=>$groupid));
-$PAGE->set_pagelayout('standard');
+$PAGE->set_pagelayout('admin');
 
 require_login($course);
 $context = context_course::instance($course->id);