From a2bbb0c94d47c528c0308611fdf4bdf23c37c4d4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 17 Jul 2015 06:40:34 +0000 Subject: [PATCH] trying to avoid empty ENCODING I can not reproduce, but happening for some customers: TEL;TYPE="VOICE,WORK";ENCODING=:+49 (30) 123 4567 --- addressbook/inc/class.addressbook_vcal.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_vcal.inc.php b/addressbook/inc/class.addressbook_vcal.inc.php index b734b67667..e9508342d4 100644 --- a/addressbook/inc/class.addressbook_vcal.inc.php +++ b/addressbook/inc/class.addressbook_vcal.inc.php @@ -369,7 +369,7 @@ class addressbook_vcal extends addressbook_bo } elseif (!$extra_charset_attribute) { - $options['ENCODING'] = ''; + unset($options['ENCODING']); } } $hasdata++; @@ -448,7 +448,7 @@ class addressbook_vcal extends addressbook_bo } elseif (!$extra_charset_attribute) { - $options['ENCODING'] = ''; + unset($options['ENCODING']); } } if ($vcardField == 'TEL' && $entry['tel_prefer'] &&