forked from extern/egroupware
Fix Apple CardDAV issue
This commit is contained in:
parent
ac015ec983
commit
d3532ed7a1
@ -314,11 +314,8 @@ class addressbook_groupdav extends groupdav_handler
|
|||||||
|
|
||||||
$handler = self::_get_handler();
|
$handler = self::_get_handler();
|
||||||
$vCard = htmlspecialchars_decode($options['content']);
|
$vCard = htmlspecialchars_decode($options['content']);
|
||||||
if ($this->agent == 'cfnetwork')
|
// Fix for Apple Addressbook
|
||||||
{
|
$vCard = preg_replace('/item\d\.(ADR|TEL|EMAIL|URL)/', '\1', $vCard);
|
||||||
// Apple Addressbook
|
|
||||||
$vCard = preg_replace('/item\d\.(ADR|TEL)/', '\1', $vCard);
|
|
||||||
}
|
|
||||||
$charset = null;
|
$charset = null;
|
||||||
if (!empty($options['content_type']))
|
if (!empty($options['content_type']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user