diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index c73c367508..9f8884429b 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -290,7 +290,7 @@ class accounts if ($app) { // we want the result merged, whatever it takes, as we only care for the ids - $valid = $this->split_accounts($app,'merge');//$param['type'] == 'both' ? 'merge' : $param['type']); + $valid = $this->split_accounts($app,!in_array($param['type'],array('accounts','groups')) ? 'merge' : $param['type']); } if ($group) {