mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +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();
|
$valid = array();
|
||||||
if ($app)
|
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)
|
if ($group)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user