forked from extern/egroupware
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))
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user