mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-02 17:21:24 +01:00
fix array_search(): Argument #2 ($haystack) must be of type array, int given
This commit is contained in:
parent
813401c432
commit
35256b731f
@ -843,7 +843,7 @@ class Ldap
|
||||
if (!empty($param['account_id']))
|
||||
{
|
||||
// do we need a negated account_id filter
|
||||
if (($not_account_ids = array_search('!', $param['account_id'])) !== false)
|
||||
if (($not_account_ids = array_search('!', (array)$param['account_id'])) !== false)
|
||||
{
|
||||
$filter .= '(!';
|
||||
unset($param['account_id'][$not_account_ids]);
|
||||
|
Loading…
Reference in New Issue
Block a user