Fix custom fields for a type not detected, so tab was incorrectly disabled

This commit is contained in:
Nathan Gray 2013-11-13 16:51:15 +00:00
parent 555910edd8
commit 1d54a4d3d6

View File

@ -307,7 +307,7 @@ class infolog_bo
foreach($this->customfields as $name => $field)
{
if ((!$type || empty($field['type2']) || in_array($type,explode(',',$field['type2']))) &&
if ((!$type || empty($field['type2']) || in_array($type,$field['type2'])) &&
(!$links || in_array($field['type'],$link_types)))
{
return True;