Fix: utilisation de la fonction dolibarr "clean_html"

This commit is contained in:
Regis Houssin 2007-09-18 00:05:59 +00:00
parent 555b2fbc82
commit 85cf90f0fa

View File

@ -528,7 +528,7 @@ class Societe
$this->pays_id = $obj->fk_pays;
$this->pays_code = $obj->fk_pays?$obj->pays_code:'';
$this->pays = $obj->fk_pays?($langs->trans('Country'.$obj->pays_code)!='Country'.$obj->pays_code?strtoupper(html_entity_decode($langs->trans('Country'.$obj->pays_code))):$obj->pays):'';
$this->pays = $obj->fk_pays?($langs->trans('Country'.$obj->pays_code)!='Country'.$obj->pays_code?strtoupper(clean_html($langs->trans('Country'.$obj->pays_code))):$obj->pays):'';
$this->departement_id = $obj->fk_departement;
$this->departement= $obj->fk_departement?$obj->departement:'';