Browse files

MDL-34255 group calendar events: fixed adding group calendar event fo…

…r students
  • Loading branch information...
1 parent 947ba9c commit 05d7440e19529b70f8f65a6a0300b1e98c774a84 @rwijaya rwijaya committed Jul 26, 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 05d7440

Please sign in to comment.