From 6cfc7f45c69f069a1dc020e0686e90fd4527a1d9 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 18 Sep 2009 12:24:47 +0000 Subject: [PATCH] Fix: convert to output charset --- htdocs/contact.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index 65df934776e..bb25af6b52a 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -790,7 +790,7 @@ class Contact extends CommonObject if ($this->firstname && $this->name) $ret.=' '; if ($this->firstname) $ret.=$this->firstname; } - return trim($ret); + return $langs->convToOutputCharset(trim($ret)); }