correction - bug 6130, not 3130
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user