mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 22:48:58 +01:00
fix array_search(): Argument #2 ($haystack) must be of type array, int given
This commit is contained in:
parent
794609b179
commit
eb3ae5c887
@ -1062,7 +1062,7 @@ class Ads
|
|||||||
}
|
}
|
||||||
if (!empty($param['account_id']))
|
if (!empty($param['account_id']))
|
||||||
{
|
{
|
||||||
if (($not_account_ids = array_search('!', $param['account_id'])) !== false)
|
if (($not_account_ids = array_search('!', (array)$param['account_id'])) !== false)
|
||||||
{
|
{
|
||||||
unset($param['account_id'][$not_account_ids]);
|
unset($param['account_id'][$not_account_ids]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user