From a828ba73f32fa427370ec73fc7c88e114c3fe527 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 12 Apr 2005 09:54:07 +0000 Subject: [PATCH] added missing charset-translation of the cn (common name), thanks to Martin Dalum --- phpgwapi/inc/class.accounts_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 8119dd3b6e..cb2c23fff5 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -83,7 +83,7 @@ } } $this->data['account_dn'] = $allValues[0]['dn']; - $this->data['fullname'] = $allValues[0]['cn'][0]; + $this->data['fullname'] = $GLOBALS['egw']->translation->convert($allValues[0]['cn'][0],'utf-8'); if ($GLOBALS['egw_info']['server']['ldap_extra_attributes']) {