Skip to content

Commit

Permalink
MDL-22887 - changing variable $courseid to $calendar->courseid;
Browse files Browse the repository at this point in the history
  • Loading branch information
rwijaya committed Jul 1, 2010
1 parent 261b585 commit 484617d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/renderer.php
Expand Up @@ -612,7 +612,7 @@ public function show_upcoming_events(calendar_information $calendar, $futuredays
// Convert to calendar_event object so that we transform description // Convert to calendar_event object so that we transform description
// accordingly // accordingly
$event = new calendar_event($event); $event = new calendar_event($event);
$event->calendarcourseid = $courseid; $event->calendarcourseid = $calendar->courseid;
$output .= $this->event($event); $output .= $this->event($event);
} }
$output .= html_writer::end_tag('div'); $output .= html_writer::end_tag('div');
Expand Down

0 comments on commit 484617d

Please sign in to comment.