]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10084 propogate course id through calendar pages to ensure consistent display...
authordwoolhead <dwoolhead>
Fri, 22 Jun 2007 15:20:20 +0000 (15:20 +0000)
committerdwoolhead <dwoolhead>
Fri, 22 Jun 2007 15:20:20 +0000 (15:20 +0000)
calendar/view.php

index 7ecc0960f4909cba8614bfb0171d06b737e54039..62d094f91460f2f6ed1ad7bf809738028d2990a8 100644 (file)
@@ -67,7 +67,7 @@
     $now = usergetdate(time());
     $pagetitle = '';
 
-    $nav = calendar_get_link_tag(get_string('calendar', 'calendar'), CALENDAR_URL.'view.php?view=upcoming&amp;', $now['mday'], $now['mon'], $now['year']);
+    $nav = calendar_get_link_tag(get_string('calendar', 'calendar'), CALENDAR_URL.'view.php?view=upcoming&amp;course='.$courseid.'&amp;', $now['mday'], $now['mon'], $now['year']);
 
     
     if(!checkdate($mon, $day, $yr)) {