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

This commit is contained in:
Ralf Becker 2014-10-14 08:52:45 +00:00
parent 9d54bfacb1
commit 8a2a263f70

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();