diff --git a/calendar/lib.php b/calendar/lib.php index 9e415e782be..5ebd883300d 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -487,8 +487,10 @@ function calendar_top_controls($type, $data) { case 'frontpage': list($prevmonth, $prevyear) = calendar_sub_month($data['m'], $data['y']); list($nextmonth, $nextyear) = calendar_add_month($data['m'], $data['y']); - $nextlink = calendar_get_link_tag('>>', 'index.php?id='.$data['id'].'&', 0, $nextmonth, $nextyear); - $prevlink = calendar_get_link_tag('<<', 'index.php?id='.$data['id'].'&', 0, $prevmonth, $prevyear); + //$nextlink = calendar_get_link_tag('>>', 'index.php?id='.$data['id'].'&', 0, $nextmonth, $nextyear); + //$prevlink = calendar_get_link_tag('<<', 'index.php?id='.$data['id'].'&', 0, $prevmonth, $prevyear); + $nextlink = calendar_get_link_tag('>>', 'index.php?', 0, $nextmonth, $nextyear); + $prevlink = calendar_get_link_tag('<<', 'index.php?', 0, $prevmonth, $prevyear); $content .= '
'.$prevlink." | \n"; $content .= ''.$monthname.' '.$data['y']." | \n";