add date parameter to next and last date link, to set correct exception date for recuring events

This commit is contained in:
Ralf Becker 2010-07-07 10:11:52 +00:00
parent c1fa529fc8
commit 89ed32a022

View File

@ -1312,6 +1312,9 @@ class addressbook_bo extends addressbook_so
'id' => $event['id'],
'app' => 'calendar',
'title' => $bocal->link_title($event),
'extra_args' => array(
'date' => date('Ymd',$event['start']),
),
);
if ($extra_title)
{
@ -1330,6 +1333,9 @@ class addressbook_bo extends addressbook_so
'id' => $event['id'],
'app' => 'calendar',
'title' => $bocal->link_title($event),
'extra_args' => array(
'date' => date('Ymd',$event['start']),
),
);
if ($extra_title)
{
@ -1341,7 +1347,6 @@ class addressbook_bo extends addressbook_so
}
}
}
//_debug_array($calendars);
return $calendars;
}