* Admin/LDAP: show LDAP extra attributes shell/homedir, if enabled in setup

This commit is contained in:
Ralf Becker 2014-10-14 08:52:11 +00:00
parent b3441cb29b
commit fa11f01258

View File

@ -82,7 +82,7 @@ class admin_account
}
// should we show extra ldap attributes home-directory and login-shell
$account['ldap_extra_attributes'] = $GLOBALS['egw_info']['server']['ldap_extra_attributes'] &&
get_class($GLOBALS['egw']->accounts) === 'accounts_ldap';
get_class($GLOBALS['egw']->accounts->backend) === 'accounts_ldap';
$readonlys = array();