summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2007-02-20 15:42:39 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2007-02-20 15:42:39 (GMT)
commitc70f04a7612420ba98b3c5b0cd0891780ef31b5d (patch)
tree8aee6e9cf499b49accb05c03e7caf720ed3e80e6
parent941fdd4d545c9a11e71389a750092a3789e2473d (diff)
downloadkolab-webadmin-c70f04a7612420ba98b3c5b0cd0891780ef31b5d.tar.gz
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.
-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) ) {