silence warning regarding custom field types

This commit is contained in:
Klaus Leithoff 2014-01-07 10:27:24 +00:00
parent c5191e3e01
commit 3b971148d5

View File

@ -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;