correction - bug 6130, not 3130

This commit is contained in:
skodak
2006-07-17 07:29:46 +00:00
parent 285105fbf1
commit 63d337cf47
+1 -1
View File
@@ -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)) {