fixed typo causing search for group-members to fail for accounts in sql

This commit is contained in:
Ralf Becker 2011-09-08 09:57:32 +00:00
parent d9f321a413
commit b950c5b811

View File

@ -271,7 +271,7 @@ class accounts
if ($this->config['account_repository'] != 'ldap' && is_numeric($param['type'])) if ($this->config['account_repository'] != 'ldap' && is_numeric($param['type']))
{ {
$members = $this->members($group,true); $members = $this->members($param['type'],true);
$param['type'] = 'accounts'; $param['type'] = 'accounts';
} }
elseif ($param['type'] == 'owngroups') elseif ($param['type'] == 'owngroups')