diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index 9a8176248e..d3b908e9f1 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -307,7 +307,7 @@ class infolog_bo foreach($this->customfields as $name => $field) { - if ((!$type || empty($field['type2']) || in_array($type,$field['type2'])) && + if ((!$type || empty($field['type2']) || in_array($type,explode(',',$field['type2']))) && (!$links || in_array($field['type'],$link_types))) { return True;