forked from extern/egroupware
fixed not shown custom fields tab in edit, if there's no field shown only for that type (fields shown for multiple types were not taken into account)
This commit is contained in:
parent
f37e2bfdc6
commit
eb70245a4b
@ -284,7 +284,7 @@ class boinfolog
|
|||||||
|
|
||||||
foreach($this->customfields as $name => $field)
|
foreach($this->customfields as $name => $field)
|
||||||
{
|
{
|
||||||
if ((!$type || empty($field['type2']) || $field['type2'] == $type) &&
|
if ((!$type || empty($field['type2']) || in_array($type,explode(',',$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