Fix broken link from year view to month view.

Fixes Bug #3109 - Year view problem
reported and investigated by "ws Skygge"
This commit is contained in:
Hans-Jürgen Tappe 2012-01-31 21:05:25 +00:00
parent 37a6917ae3
commit 0faf511e65

View File

@ -398,7 +398,7 @@ class calendar_uiviews extends calendar_ui
}
$content .= "\t\t\t\t".'<a href="'.$GLOBALS['egw']->link('/index.php',
array('menuaction'=>'calendar.calendar_uiviews.month',
'date'=>$this->year.$month.'01')).
'date'=>$this->year.($month < 10 ? '0' : '').$month.'01')).
'" title="'.lang('Monthview').'">'.lang(adodb_date('F',strtotime("+1 week",$month_start))).'</a>'."\n";
if ($month == self::YEARVIEW_COLS)
{