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:12:27 +00:00
parent 4b2b17b751
commit 90717af7a7

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;
}