MDL-55844 profile: display formatted course name

This commit is contained in:
Marina Glancy 2016-09-02 17:59:58 +08:00
parent 5c33a0db21
commit c6745991b1

View File

@ -248,7 +248,7 @@ function core_myprofile_navigation(core_user\output\myprofile\tree $tree, $user,
$courselisting .= html_writer::tag('li', html_writer::link($url, $ccontext->get_context_name(false),
$linkattributes));
} else {
$courselisting .= html_writer::tag('li', $course->fullname);
$courselisting .= html_writer::tag('li', $ccontext->get_context_name(false));
}
}
$shown++;