use a cn given+family name, instead of link title for contacts

This commit is contained in:
Ralf Becker 2008-05-08 20:19:20 +00:00
parent cb9212e691
commit 9d7e48fcaa
2 changed files with 2 additions and 1 deletions

View File

@ -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 "<p>calendar_info(".print_r($ids,true).")="; _debug_array($data);

View File

@ -219,7 +219,7 @@
break;
};
$parameters['ATTENDEE'][] = array(
'CN' => $info['name'],
'CN' => $info['cn'] ? $info['cn'] : $info['name'],
'ROLE' => $role,
'PARTSTAT' => $status,
'CUTYPE' => $cutype,