From b6b573e1f7c1c7b41be33805950c86ef2f5b85f5 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 8 Nov 2006 15:30:07 +0000 Subject: [PATCH] Merged MDL-7121 from stable (missing header) --- user/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/user/index.php b/user/index.php index 7c103de85c5..ee860636a9f 100644 --- a/user/index.php +++ b/user/index.php @@ -106,7 +106,10 @@ $isseparategroups = ($course->groupmode == SEPARATEGROUPS and $course->groupmodeforce and !has_capability('moodle/site:accessallgroups', get_context_instance(CONTEXT_COURSE, $course->id))); - if ($isseparategroups and (!$currentgroup) ) { //XXX + if ($isseparategroups and (!$currentgroup) ) { + print_header("$course->shortname: ".get_string('participants'), $course->fullname, + "wwwroot/course/view.php?id=$course->id\">$course->shortname -> ". + get_string('participants'), "", "", true, " ", navmenu($course)); print_heading(get_string("notingroup", "forum")); print_footer($course); exit;