mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-55844 profile: display formatted course name
This commit is contained in:
parent
5c33a0db21
commit
c6745991b1
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user