mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
fix Api\Accounts::hidden2account_id(): Argument #2 ($account_ids) must be of type ?array, int given
This commit is contained in:
parent
1b9b20f220
commit
2a8a2a87b0
@ -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