Fix broken link from year view to month view. Fixes Bug #3109 - Year view problem reported and investigated by -ws Skygge-, (backport from hjtappe)

This commit is contained in:
Klaus Leithoff 2012-02-01 08:24:08 +00:00
parent 993f07a69f
commit 4a6b3ad523

View File

@ -448,7 +448,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)
{