diff --git a/user/index.php b/user/index.php index 345da070600..88917dee5d1 100644 --- a/user/index.php +++ b/user/index.php @@ -171,7 +171,7 @@ echo ''; $courselist = array(); foreach ($mycourses as $mycourse) { - $courselist[$mycourse->id] = $mycourse->shortname; + $courselist[$mycourse->id] = format_string($mycourse->shortname); } popup_form($CFG->wwwroot.'/user/index.php?roleid='.$roleid.'&sifirst=&silast=&id=', $courselist, 'courseform', $course->id, '', '', '', false, 'self', get_string('mycourses'));