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:
dwoolhead 2007-06-22 15:20:20 +00:00
parent dc1fd03d6d
commit 91bfdd664c

View File

@ -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)) {