From 6567e39668bc77f999f104a280c28a0520507e53 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 8 Aug 2020 11:30:52 +0200 Subject: [PATCH] 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 --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index d48f5d5799..bd3a5210ac 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -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; }