diff --git a/calendar/event.php b/calendar/event.php index e119df0b830..7093c95290f 100644 --- a/calendar/event.php +++ b/calendar/event.php @@ -485,7 +485,7 @@ if($eventtype == 'select') { $courseid = optional_param('courseid', $SESSION->cal_course_referer, PARAM_INT); - if ($courseid == 0) { // workaround by Dan for bug #3130 + if ($courseid == 0) { // workaround by Dan for bug #6130 $courseid = SITEID; } if (!$course = get_record('course', 'id', $courseid)) {