MDL-55844 profile: display formatted course name

This commit is contained in:
Marina Glancy
2016-09-02 17:59:58 +08:00
parent c265709cab
commit 8461e34f4d
+1 -1
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++;