Permalink
Browse files

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

…MOODLE_22_STABLE
  • Loading branch information...
2 parents 8884e3a + 05d7440 commit b5affb62a8577ce0b79b40b6d2eb873df176ca4c @danpoltawski danpoltawski committed Jul 31, 2012
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);

0 comments on commit b5affb6

Please sign in to comment.