From 3f0d124eafc67c76242bb8cc155bcd213d8fe8c8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 17 Sep 2007 19:54:46 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20mauvais=20affichage=20des=20pays=20avec?= =?UTF-8?q?=20des=20caract=E8res=20accentu=E9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 dbc4f11fc08..2d750425af2 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($langs->trans('Country'.$obj->pays_code)):$obj->pays):''; + $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->departement_id = $obj->fk_departement; $this->departement= $obj->fk_departement?$obj->departement:'';