diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index 4b8e2f3a89..4529e376c0 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -271,7 +271,7 @@ class accounts if ($this->config['account_repository'] != 'ldap' && is_numeric($param['type'])) { - $members = $this->members($group,true); + $members = $this->members($param['type'],true); $param['type'] = 'accounts'; } elseif ($param['type'] == 'owngroups')