mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
"calling split_accounts with 'merge' it type is NOT either 'accounts' or 'groups'"
This commit is contained in:
parent
41c4ae0536
commit
ac75c349b8
@ -290,7 +290,7 @@ class accounts
|
|||||||
if ($app)
|
if ($app)
|
||||||
{
|
{
|
||||||
// we want the result merged, whatever it takes, as we only care for the ids
|
// 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)
|
if ($group)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user