From: dwoolhead Date: Fri, 22 Jun 2007 15:20:20 +0000 (+0000) Subject: MDL-10084 propogate course id through calendar pages to ensure consistent display... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=91bfdd664cace3d7b946ac9133d36c0bf4cfefbc;p=moodle.git MDL-10084 propogate course id through calendar pages to ensure consistent display for site front page, my moodle and courses --- diff --git a/calendar/view.php b/calendar/view.php index 7ecc0960f4..62d094f914 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -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)) {