Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 484617d2558fb86019a832920b3eff105e5397d7 1 parent 261b585
Rossiani Wijaya authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  calendar/renderer.php
2  calendar/renderer.php
@@ -612,7 +612,7 @@ public function show_upcoming_events(calendar_information $calendar, $futuredays
612 612 // Convert to calendar_event object so that we transform description
613 613 // accordingly
614 614 $event = new calendar_event($event);
615   - $event->calendarcourseid = $courseid;
  615 + $event->calendarcourseid = $calendar->courseid;
616 616 $output .= $this->event($event);
617 617 }
618 618 $output .= html_writer::end_tag('div');

0 comments on commit 484617d

Please sign in to comment.
Something went wrong with that request. Please try again.