echo '<td class="left">';
$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'));