summaryrefslogtreecommitdiff
path: root/www/admin
diff options
context:
space:
mode:
Diffstat (limited to 'www/admin')
-rw-r--r--www/admin/user/user.php.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/admin/user/user.php.in b/www/admin/user/user.php.in
index a4cdba0..3c67f3e 100644
--- a/www/admin/user/user.php.in
+++ b/www/admin/user/user.php.in
@@ -257,7 +257,7 @@ function fill_form_for_modify( &$form, $dn, &$ldap_object ) {
if(array_key_exists('uid',$form->entries)) $form->entries['uid']['value'] = $uid;
// accttype
$dncomp = split( ',', $dn );
- if(array_key_exists('acctype',$form->entries)) {
+ if(array_key_exists('accttype',$form->entries)) {
if( in_array('cn=groups',$dncomp) ) {
$form->entries['accttype']['value'] = 2;
} else if( in_array('cn=resources',$dncomp) ) {