Permalink
Browse files

MDL-22887 - changing variable $courseid to $calendar->courseid;

  • Loading branch information...
1 parent 261b585 commit 484617d2558fb86019a832920b3eff105e5397d7 @rwijaya rwijaya committed Jul 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/renderer.php
View
@@ -612,7 +612,7 @@ public function show_upcoming_events(calendar_information $calendar, $futuredays
// Convert to calendar_event object so that we transform description
// accordingly
$event = new calendar_event($event);
- $event->calendarcourseid = $courseid;
+ $event->calendarcourseid = $calendar->courseid;
$output .= $this->event($event);
}
$output .= html_writer::end_tag('div');

0 comments on commit 484617d

Please sign in to comment.