diff --git a/calendar/view.php b/calendar/view.php index 090a370c27e..bd16f659a95 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -595,7 +595,7 @@ function calendar_course_filter_selector($getvars = '') { $courseoptions[SITEID] = get_string('fulllistofcourses'); foreach ($courses as $course) { - $courseoptions[$course->id] = $course->shortname; + $courseoptions[$course->id] = format_string($course->shortname); } if (is_numeric($SESSION->cal_courses_shown)) {