mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
"calling split_accounts with 'merge' it type is NOT either 'accounts' or 'groups'"
This commit is contained in:
parent
b7e6c4aa93
commit
e841c4ce76
@ -289,7 +289,8 @@ class accounts
|
||||
$valid = array();
|
||||
if ($app)
|
||||
{
|
||||
$valid = $this->split_accounts($app,$param['type'] == 'both' ? 'merge' : $param['type']);
|
||||
// we want the result merged, whatever it takes, as we only care for the ids
|
||||
$valid = $this->split_accounts($app,!in_array($param['type'],array('accounts','groups')) ? 'merge' : $param['type']);
|
||||
}
|
||||
if ($group)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user