Fix: A business function must never make output formating. This must be done by the code making the output.
This commit is contained in:
parent
e6c5f40de3
commit
43cdcead79
@ -790,7 +790,7 @@ class Contact extends CommonObject
|
|||||||
if ($this->firstname && $this->name) $ret.=' ';
|
if ($this->firstname && $this->name) $ret.=' ';
|
||||||
if ($this->firstname) $ret.=$this->firstname;
|
if ($this->firstname) $ret.=$this->firstname;
|
||||||
}
|
}
|
||||||
return $langs->convToOutputCharset(trim($ret));
|
return trim($ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user