From 91bfdd664cace3d7b946ac9133d36c0bf4cfefbc Mon Sep 17 00:00:00 2001 From: dwoolhead Date: Fri, 22 Jun 2007 15:20:20 +0000 Subject: [PATCH] MDL-10084 propogate course id through calendar pages to ensure consistent display for site front page, my moodle and courses --- calendar/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5