From 7ec4960c218e4da744b57c826bba46d7250b47d7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 11 Feb 2007 21:15:48 +0000 Subject: [PATCH] =?UTF-8?q?D=E9but=20ajout=20de=20l'autocompl=E9tion=20aja?= =?UTF-8?q?x=20sur=20la=20liste=20d=E9roulante=20des=20pays?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/ajaxresponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ajaxresponse.php b/htdocs/ajaxresponse.php index bfc23ca261e..68b9ef7e908 100644 --- a/htdocs/ajaxresponse.php +++ b/htdocs/ajaxresponse.php @@ -51,7 +51,7 @@ if(isset($_POST['pays']) && !empty($_POST['pays'])) { $sql = "SELECT rowid, code, libelle, active"; $sql.= " FROM ".MAIN_DB_PREFIX."c_pays"; - $sql.= " WHERE active = 1 AND libelle LIKE '%" . $_POST['pays'] . "%'"; + $sql.= " WHERE active = 1 AND libelle LIKE '%" . utf8_decode($_POST['pays']) . "%'"; $sql.= " ORDER BY libelle ASC;"; $resql=$db->query($sql);