mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
* CardDAV: SoGo and Busycontacts without all name- or organisation components use last value for missing ones
eg. "N:Lastname;Firstname" would also set middle-name, prefix and sufix with "Firstname", same with "ORG:Organisation" would set department and position with "Organisation"
This commit is contained in:
parent
dbb998de96
commit
a5080a29d5
@ -929,10 +929,8 @@ class addressbook_vcal extends addressbook_bo
|
||||
{
|
||||
if (!empty($fieldName))
|
||||
{
|
||||
if (is_scalar($vcardValues[$vcardKey]['values'][$fieldKey]))
|
||||
{
|
||||
$value = trim($vcardValues[$vcardKey]['values'][$fieldKey]);
|
||||
}
|
||||
$value = trim($vcardValues[$vcardKey]['values'][$fieldKey]);
|
||||
|
||||
if ($pref_tel && (($vcardKey == $pref_tel) ||
|
||||
($vcardValues[$vcardKey]['name'] == 'TEL') &&
|
||||
($vcardValues[$vcardKey]['value'] == $vcardValues[$pref_tel]['value'])))
|
||||
|
Loading…
Reference in New Issue
Block a user