Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 484617d2558fb86019a832920b3eff105e5397d7 1 parent 261b585
Rossiani Wijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  calendar/renderer.php
View
2  calendar/renderer.php
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.