MDL-73169 core_role: Update course category breadcrumb nodes

This commit is contained in:
Mihail Geshoski 2022-02-22 12:03:54 +08:00
parent 805a9eebf5
commit 8469f9e724
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {