From 8469f9e724e28bd05c3c6c67b927b64f4c54f848 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Tue, 22 Feb 2022 12:03:54 +0800 Subject: [PATCH] MDL-73169 core_role: Update course category breadcrumb nodes --- admin/roles/assign.php | 2 +- admin/roles/check.php | 2 +- admin/roles/permissions.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/roles/assign.php b/admin/roles/assign.php index 501162ceccf..4dcc69b079b 100644 --- a/admin/roles/assign.php +++ b/admin/roles/assign.php @@ -165,7 +165,7 @@ switch ($context->contextlevel) { $showroles = 1; break; case CONTEXT_COURSECAT: - $PAGE->set_heading($SITE->fullname); + core_course_category::page_setup(); break; case CONTEXT_COURSE: if ($isfrontpage) { diff --git a/admin/roles/check.php b/admin/roles/check.php index cbe2ee30144..23680f7f141 100644 --- a/admin/roles/check.php +++ b/admin/roles/check.php @@ -100,7 +100,7 @@ switch ($context->contextlevel) { $showroles = 1; break; case CONTEXT_COURSECAT: - $PAGE->set_heading($SITE->fullname); + core_course_category::page_setup(); break; case CONTEXT_COURSE: if ($isfrontpage) { diff --git a/admin/roles/permissions.php b/admin/roles/permissions.php index 82659cbb5c9..0a2bd3cd571 100644 --- a/admin/roles/permissions.php +++ b/admin/roles/permissions.php @@ -108,7 +108,7 @@ switch ($context->contextlevel) { $showroles = 1; break; case CONTEXT_COURSECAT: - $PAGE->set_heading($SITE->fullname); + core_course_category::page_setup(); break; case CONTEXT_COURSE: if ($isfrontpage) { -- 2.11.4.GIT