forked from extern/egroupware
Fix vCard content version issue (Nokia E7x)
This commit is contained in:
parent
b5ade8635a
commit
027b11723e
@ -842,6 +842,10 @@ class Horde_SyncML_State {
|
||||
case 'text/x-s4j-sifn':
|
||||
$res['ContentFormat'] = 'b64';
|
||||
break;
|
||||
case 'text/vcard':
|
||||
if (isset($res['ContentVersion']) && $res['ContentVersion'] == '2.1') {
|
||||
$res['ContentType'] = 'text/x-vcard';
|
||||
}
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
@ -977,6 +981,7 @@ class Horde_SyncML_State {
|
||||
}
|
||||
$clientPrefs = array(
|
||||
'ContentType' => $ctype,
|
||||
'ContentVersion' => $cvers,
|
||||
'ContentFormat' => $cfrmt,
|
||||
'mayFragment' => 1,
|
||||
'Properties' => $cprops,
|
||||
|
Loading…
Reference in New Issue
Block a user