"fixed typo reported by Phillip Herbert <philip-at-knauber.de>, causing german umlauts and other non-ascii chars to be handeled wrong for eg. the e90 or kde addressbook"

This commit is contained in:
Ralf Becker 2008-07-07 07:27:56 +00:00
parent 9763f202b5
commit d3ecff4dd1

View File

@ -128,7 +128,7 @@ class addressbook_vcal extends addressbook_bo
{
$value = $GLOBALS['egw']->translation->convert(trim($value), $sysCharSet,$_charset);
if(($extra_charset_attribute || $this->productManufacturer == 'kde') && preg_match('/([\177-\377])/',$valueData))
if(($extra_charset_attribute || $this->productManufacturer == 'kde') && preg_match('/([\177-\377])/',$value))
{
$options['CHARSET'] = $_charset;
// KAddressbook requires non-ascii chars to be qprint encoded, other clients eg. nokia phones have trouble with that