diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 965b750eb7..1c1bfb54b1 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -203,9 +203,9 @@ $newGroupID = $newData['cn']; $oldGroupID = $newData['cn']; } - if($this->data['type']) + if($this->data['account_type']) { - $newData['phpgwaccounttype'] = $this->data['type']; + $newData['phpgwaccounttype'] = $this->data['account_type']; } /*