From 33b8f7231ff5ae97e3b6ceba952822ba908b0c0e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 20 Dec 2006 19:23:22 +0000 Subject: [PATCH] utf8_decode est aussi utile pour Active Directory --- htdocs/lib/ldap.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/ldap.class.php b/htdocs/lib/ldap.class.php index de155b055f9..130773659d5 100644 --- a/htdocs/lib/ldap.class.php +++ b/htdocs/lib/ldap.class.php @@ -1045,8 +1045,9 @@ class Ldap */ function ldap_utf8_decode($string) { - if ($this->serverType != "activedirectory") return utf8_decode($string); - else return($string); + //if ($this->serverType != "activedirectory") return utf8_decode($string); + //else return($string); + return utf8_decode($string); //utile aussi avec Active Directory - Regis } }