mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
fix array_map(): Argument #2 ($array) must be of type array, int given
This commit is contained in:
parent
9a5ed1efa3
commit
6dc1ae4b23
@ -970,7 +970,7 @@ class Ads
|
|||||||
}
|
}
|
||||||
if (!empty($param['account_id']))
|
if (!empty($param['account_id']))
|
||||||
{
|
{
|
||||||
$account_ids_filter = '(|(objectsid='.implode(')(objectsid=', array_map([$this, 'get_sid'], $param['account_id'])).')';
|
$account_ids_filter = '(|(objectsid='.implode(')(objectsid=', array_map([$this, 'get_sid'], (array)$param['account_id'])).')';
|
||||||
$filter = $filter ? "(&$filter$account_ids_filter)" : $account_ids_filter;
|
$filter = $filter ? "(&$filter$account_ids_filter)" : $account_ids_filter;
|
||||||
}
|
}
|
||||||
if (!empty($param['modified']))
|
if (!empty($param['modified']))
|
||||||
|
Loading…
Reference in New Issue
Block a user