Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-34255_m22' of git://github.com/rwijaya/moodle into …

…MOODLE_22_STABLE
  • Loading branch information...
commit b5affb62a8577ce0b79b40b6d2eb873df176ca4c 2 parents 8884e3a + 05d7440
@danpoltawski danpoltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  calendar/event.php
View
2  calendar/event.php
@@ -123,10 +123,10 @@
$event = new stdClass();
$event->action = $action;
$event->course = $courseid;
+ $event->courseid = $courseid;
$event->timeduration = 0;
if ($formoptions->eventtypes->courses) {
if (!$issite) {
- $event->courseid = $courseid;
$event->eventtype = 'course';
} else {
unset($formoptions->eventtypes->courses);
Please sign in to comment.
Something went wrong with that request. Please try again.