mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-11 21:50:15 +01:00
"fix for newest Funambol Outlook client: ignoring VOICE in TEL;VOICE;HOME and TEL;VOICE;WORK"
This commit is contained in:
parent
e1dbb4688a
commit
48993a04dd
@ -712,6 +712,19 @@ class addressbook_vcal extends addressbook_bo
|
|||||||
|
|
||||||
switch($rowName)
|
switch($rowName)
|
||||||
{
|
{
|
||||||
|
case 'TEL;VOICE;HOME':
|
||||||
|
case 'TEL;VOICE;WORK': // check if we have a mapping without VOICE
|
||||||
|
$replace = str_replace('VOICE;','',$rowName);
|
||||||
|
if (!isset($rowNames[$replace]) && array_key_exists($replace, $this->supportedFields))
|
||||||
|
{
|
||||||
|
$finalRowNames[$replace] = $vcardKey; // if yes use that
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$finalRowNames[$rowName] = $vcardKey; // else use existing mapping
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 'ADR':
|
case 'ADR':
|
||||||
case 'TEL':
|
case 'TEL':
|
||||||
case 'URL':
|
case 'URL':
|
||||||
|
Loading…
Reference in New Issue
Block a user