mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
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
e5eac71f71
commit
4a77931db0
@ -284,7 +284,7 @@ class boinfolog
|
||||
|
||||
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)))
|
||||
{
|
||||
return True;
|
||||
|
Loading…
Reference in New Issue
Block a user