]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8691
authornicolasconnault <nicolasconnault>
Thu, 1 Mar 2007 05:16:02 +0000 (05:16 +0000)
committernicolasconnault <nicolasconnault>
Thu, 1 Mar 2007 05:16:02 +0000 (05:16 +0000)
Added format_string() around $course->shortname in calendar.view.php

calendar/view.php

index 090a370c27ee9a8cb84fea9e397fd9d4bbfc9576..bd16f659a9579988398bfe3c6d9f920b92886cb6 100644 (file)
@@ -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)) {