mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
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)
|
||||
{
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user