diff --git a/addressbook/inc/class.bocontacts.inc.php b/addressbook/inc/class.bocontacts.inc.php index c8e5acabae..d9e61f567d 100755 --- a/addressbook/inc/class.bocontacts.inc.php +++ b/addressbook/inc/class.bocontacts.inc.php @@ -926,6 +926,7 @@ class bocontacts extends socontacts 'email' => $contact['email'] ? $contact['email'] : $contact['email_home'], 'rights' => EGW_ACL_READ_FOR_PARTICIPANTS, 'name' => $this->link_title($contact), + 'cn' => trim($contact['n_given'].' '.$contact['n_family']), ); } //echo "
calendar_info(".print_r($ids,true).")="; _debug_array($data); diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index 89bade95b6..1f01af508c 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -219,7 +219,7 @@ break; }; $parameters['ATTENDEE'][] = array( - 'CN' => $info['name'], + 'CN' => $info['cn'] ? $info['cn'] : $info['name'], 'ROLE' => $role, 'PARTSTAT' => $status, 'CUTYPE' => $cutype,