mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix Api\Accounts::hidden2account_id(): Argument #2 ($account_ids) must be of type ?array, int given
This commit is contained in:
parent
f093762d19
commit
a47809ba2a
@ -291,7 +291,7 @@ class Accounts
|
||||
// implement $param['hidden'] via $param['account_id']
|
||||
if (isset($param['hidden']) && !in_array($param['type'],['groups', 'owngroups']))
|
||||
{
|
||||
$param['account_id'] = self::hidden2account_id($param['hidden'], $param['account_id']);
|
||||
$param['account_id'] = self::hidden2account_id($param['hidden'], (array)$param['account_id']);
|
||||
}
|
||||
unset($param['hidden']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user