From 90717af7a70d98d42b83014d95542a3fd2ccd623 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 7 Jul 2010 10:12:27 +0000 Subject: [PATCH] add date parameter to next and last date link, to set correct exception date for recuring events --- addressbook/inc/class.addressbook_bo.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index f11753404d..a91c199aa8 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -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; }