trying to avoid empty ENCODING I can not reproduce, but happening for some customers: TEL;TYPE="VOICE,WORK";ENCODING=:+49 (30) 123 4567

This commit is contained in:
Ralf Becker 2015-07-17 06:38:40 +00:00
parent 08d7b9c82f
commit fd05a7601b

View File

@ -369,7 +369,7 @@ class addressbook_vcal extends addressbook_bo
} }
elseif (!$extra_charset_attribute) elseif (!$extra_charset_attribute)
{ {
$options['ENCODING'] = ''; unset($options['ENCODING']);
} }
} }
$hasdata++; $hasdata++;
@ -448,7 +448,7 @@ class addressbook_vcal extends addressbook_bo
} }
elseif (!$extra_charset_attribute) elseif (!$extra_charset_attribute)
{ {
$options['ENCODING'] = ''; unset($options['ENCODING']);
} }
} }
if ($vcardField == 'TEL' && $entry['tel_prefer'] && if ($vcardField == 'TEL' && $entry['tel_prefer'] &&