Skip to content

Commit

Permalink
$this->course was used but not defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
gustav_delius committed Dec 7, 2004
1 parent a36a175 commit adfefeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blocks/calendar_month/block_calendar_month.php
Expand Up @@ -60,7 +60,8 @@ function get_content() {
$this->content->text .= calendar_overlib_html();
$this->content->text .= calendar_top_controls('course', array('id' => $courseshown, 'm' => $_GET['cal_m'], 'y' => $_GET['cal_y']));
$this->content->text .= calendar_get_mini($courses, $group, $user, $_GET['cal_m'], $_GET['cal_y']);
$this->content->text .= calendar_filter_controls('course', '', $this->course);
$course = get_record('course', 'id', $this->instance->pageid);
$this->content->text .= calendar_filter_controls('course', '', $course);
}

return $this->content;
Expand Down

0 comments on commit adfefeb

Please sign in to comment.