mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
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();
|
||||
$vCard = htmlspecialchars_decode($options['content']);
|
||||
if ($this->agent == 'cfnetwork')
|
||||
{
|
||||
// Apple Addressbook
|
||||
$vCard = preg_replace('/item\d\.(ADR|TEL)/', '\1', $vCard);
|
||||
}
|
||||
// Fix for Apple Addressbook
|
||||
$vCard = preg_replace('/item\d\.(ADR|TEL|EMAIL|URL)/', '\1', $vCard);
|
||||
$charset = null;
|
||||
if (!empty($options['content_type']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user