mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
fix PHP 8.0 error: array_intersect() does not accept unknown named parameters
This commit is contained in:
parent
8084758d76
commit
1a5d18a84c
@ -608,7 +608,7 @@ class infolog_ui
|
|||||||
}
|
}
|
||||||
if(count($links))
|
if(count($links))
|
||||||
{
|
{
|
||||||
$query['col_filter']['info_id'] = count($links) > 1 ? call_user_func_array('array_intersect', $links) : $links[$key ?? 'info_id'];
|
$query['col_filter']['info_id'] = count($links) > 1 ? call_user_func_array('array_intersect', array_values($links)) : $links[$key ?? 'info_id'];
|
||||||
}
|
}
|
||||||
return $linked;
|
return $linked;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user