mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01: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
dc1fd03d6d
commit
91bfdd664c
@ -67,7 +67,7 @@
|
||||
$now = usergetdate(time());
|
||||
$pagetitle = '';
|
||||
|
||||
$nav = calendar_get_link_tag(get_string('calendar', 'calendar'), CALENDAR_URL.'view.php?view=upcoming&', $now['mday'], $now['mon'], $now['year']);
|
||||
$nav = calendar_get_link_tag(get_string('calendar', 'calendar'), CALENDAR_URL.'view.php?view=upcoming&course='.$courseid.'&', $now['mday'], $now['mon'], $now['year']);
|
||||
|
||||
|
||||
if(!checkdate($mon, $day, $yr)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user