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:40:34 +00:00
parent 31f92ecdd7
commit a2bbb0c94d

View File

@ -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'] &&