summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--www/admin/user/user.php.in2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 70a4a95..c4cbd4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-02-20 Gunnar Wrobel <wrobel@pardus.de>
+
+ * www/admin/user/user.php.in (fill_form_for_modify):
+
+ Fixed typo (issue 1612;
+ https://intevation.de/roundup/kolab/issue1612). This should allow
+ to select the user account type again.
+
2007-02-02 Sascha Wilde <wilde@intevation.de>
* php/admin/templates/kolab.tpl: Restrict access to /fbview* to
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) ) {