Fix: A business function must never make output formating. This must be done by the code making the output.

This commit is contained in:
Laurent Destailleur 2009-09-27 17:53:22 +00:00
parent e6c5f40de3
commit 43cdcead79

View File

@ -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);
}