forked from extern/egroupware
Fix custom fields for a type not detected, so tab was incorrectly disabled
This commit is contained in:
parent
555910edd8
commit
1d54a4d3d6
@ -307,7 +307,7 @@ class infolog_bo
|
|||||||
|
|
||||||
foreach($this->customfields as $name => $field)
|
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)))
|
(!$links || in_array($field['type'],$link_types)))
|
||||||
{
|
{
|
||||||
return True;
|
return True;
|
||||||
|
Loading…
Reference in New Issue
Block a user