diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 9a1a3647b8..e6623090c2 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -355,7 +355,8 @@ class infolog_ui } // Querying for a particular ID. If linked is a list of IDs, reset the linked or we won't find the ID we want. - if($query['col_filter']['info_id'] && $link_filters['linked'] && !$link_filters['linked']['app']) + if (!empty($query['col_filter']['info_id']) && !empty($link_filters['linked']) && + (!is_array($link_filters['linked']) || empty($link_filters['linked']['app']))) { unset($links['linked']); unset($link_filters['linked']);