added missing charset-translation of the cn (common name), thanks to Martin Dalum <martin-AT-cabo.dk>

This commit is contained in:
Ralf Becker 2005-04-12 09:54:46 +00:00
parent a2a1969946
commit 8071d23ea5

View File

@ -83,7 +83,7 @@
} }
} }
$this->data['account_dn'] = $allValues[0]['dn']; $this->data['account_dn'] = $allValues[0]['dn'];
$this->data['fullname'] = $allValues[0]['cn'][0]; $this->data['fullname'] = $GLOBALS['phpgw']->translation->convert($allValues[0]['cn'][0],'utf-8');
if ($GLOBALS['phpgw_info']['server']['ldap_extra_attributes']) if ($GLOBALS['phpgw_info']['server']['ldap_extra_attributes'])
{ {