From 43cdcead799103a4b424855334a6c351ea8397c3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 27 Sep 2009 17:53:22 +0000 Subject: [PATCH] Fix: A business function must never make output formating. This must be done by the code making the output. --- 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 bb25af6b52a..65df934776e 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 $langs->convToOutputCharset(trim($ret)); + return trim($ret); }