From b74be1a20a6e66dd3737113f80daf131ce31168d Mon Sep 17 00:00:00 2001 From: dwoolhead Date: Fri, 22 Jun 2007 12:45:20 +0000 Subject: [PATCH] MDL-10084 propogate course id through calendar pages to ensure consistent display for site front page, my moodle and courses --- blocks/calendar_month/block_calendar_month.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/calendar_month/block_calendar_month.php b/blocks/calendar_month/block_calendar_month.php index 24e1738c0e..c7dae668fa 100644 --- a/blocks/calendar_month/block_calendar_month.php +++ b/blocks/calendar_month/block_calendar_month.php @@ -51,7 +51,7 @@ class block_calendar_month extends block_base { if ($courseshown == SITEID) { // For the front page $this->content->text .= calendar_overlib_html(); - $this->content->text .= calendar_top_controls('frontpage', array('m' => $cal_m, 'y' => $cal_y)); + $this->content->text .= calendar_top_controls('frontpage', array('id' => $courseshown, 'm' => $cal_m, 'y' => $cal_y)); $this->content->text .= calendar_get_mini($courses, $group, $user, $cal_m, $cal_y); // No filters for now -- 2.39.5