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:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user