From d3ecff4dd136c3a75ec744b5a3d527d7517ecfa6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 Jul 2008 07:27:56 +0000 Subject: [PATCH] "fixed typo reported by Phillip Herbert , causing german umlauts and other non-ascii chars to be handeled wrong for eg. the e90 or kde addressbook" --- addressbook/inc/class.addressbook_vcal.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_vcal.inc.php b/addressbook/inc/class.addressbook_vcal.inc.php index 45a4f58cc2..4910455550 100644 --- a/addressbook/inc/class.addressbook_vcal.inc.php +++ b/addressbook/inc/class.addressbook_vcal.inc.php @@ -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