mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-10084 propogate course id through calendar pages to ensure consistent display for site front page, my moodle and courses
This commit is contained in:
parent
16368d38a4
commit
b74be1a20a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user