From 85cf90f0fa39ded7add9945b34f72e3fb5ac09c9 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 18 Sep 2007 00:05:59 +0000 Subject: [PATCH] Fix: utilisation de la fonction dolibarr "clean_html" --- htdocs/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index 63102c39674..e6599ba4af3 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -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:'';