forked from extern/egroupware
Fix Nokia old version issue, 2nd try
This commit is contained in:
parent
c7c0230233
commit
685775cdf6
@ -843,9 +843,16 @@ class Horde_SyncML_State {
|
||||
$res['ContentFormat'] = 'b64';
|
||||
break;
|
||||
case 'text/vcard':
|
||||
if (isset($res['ContentVersion']) && $res['ContentVersion'] == '2.1') {
|
||||
if ($manufacturer == 'nokia' ||
|
||||
isset($res['ContentVersion']) && $res['ContentVersion'] == '2.1') {
|
||||
$res['ContentType'] = 'text/x-vcard';
|
||||
}
|
||||
break;
|
||||
case 'text/calendar':
|
||||
if ($manufacturer == 'nokia' ||
|
||||
isset($res['ContentVersion']) && $res['ContentVersion'] == '1.0') {
|
||||
$res['ContentType'] = 'text/x-vcalendar';
|
||||
}
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user