make users mailaddress available for use in applications, if it is found in ldap

This commit is contained in:
Carsten Wolff 2004-06-18 09:29:11 +00:00
parent 2d9373d120
commit 3c919bba50

View File

@ -77,6 +77,10 @@
$this->data['account_lid'] = $allValues[0]['uid'][0];
$this->data['firstname'] = $GLOBALS['phpgw']->translation->convert($allValues[0]['givenname'][0],'utf-8');
$this->data['lastname'] = $GLOBALS['phpgw']->translation->convert($allValues[0]['sn'][0],'utf-8');
if(isset($allValues[0]['email'][0]))
{
$this->data['mailaddress'] = $allValues[0]['email'][0]);
}
}
$this->data['account_dn'] = $allValues[0]['dn'];
$this->data['fullname'] = $allValues[0]['cn'][0];