mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-59921 calendar: replace selector for course events
This commit is contained in:
parent
d8e9a23c48
commit
4b9c662b2a
3 changed files with 23 additions and 17 deletions
|
@ -2481,7 +2481,7 @@ function calendar_get_all_allowed_types() {
|
|||
if (!isset($types['course'])) {
|
||||
$types['course'] = [$course];
|
||||
} else {
|
||||
$types['course'][] = $course;
|
||||
$types['course'][$course->id] = $course;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue