Permalink
Browse files

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

…r students
  • Loading branch information...
1 parent 3294034 commit 4370d73d484a25b689e44ab88487566d3bc5142b Rossiani Wijaya committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/event.php
View
@@ -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 4370d73

Please sign in to comment.