fix NM refresh call returned all rows not just requested ones

broken by 29b22e3 Fix CRM view did not add new infolog entries on push
This commit is contained in:
Ralf Becker 2020-08-08 11:30:52 +02:00
parent ee472bb5a9
commit 7227971b44

View File

@ -606,7 +606,7 @@ class infolog_ui
}
if(count($links))
{
$query['col_filter']['info_id'] = count($links) > 1 ? call_user_func_array('array_intersect', $links) : $links[$key];
$query['col_filter']['info_id'] = count($links) > 1 ? call_user_func_array('array_intersect', $links) : $links[$key ?? 'info_id'];
}
return $linked;
}