From 0aff2bd8c1aa44d72fc6380412bf019b8324c1e0 Mon Sep 17 00:00:00 2001 From: Ferran Recio Date: Tue, 31 Aug 2021 19:05:08 +0200 Subject: [PATCH] MDL-71795 course: fix participants pagetype --- user/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/index.php b/user/index.php index 5f654da69e7..8896dacbafc 100644 --- a/user/index.php +++ b/user/index.php @@ -87,7 +87,7 @@ $bulkoperations = has_capability('moodle/course:bulkmessaging', $context); $PAGE->set_title("$course->shortname: ".get_string('participants')); $PAGE->set_heading($course->fullname); -$PAGE->set_pagetype('course-view-' . $course->format); +$PAGE->set_pagetype('course-view-participants'); $PAGE->set_docs_path('enrol/users'); $PAGE->add_body_class('path-user'); // So we can style it independently. $PAGE->set_other_editing_capability('moodle/course:manageactivities');