Fix extrafield showOutputField old syntax always hidden.
This commit is contained in:
parent
259b7dfe5a
commit
f1524372ad
@ -1514,7 +1514,7 @@ class ExtraFields
|
||||
$label = $this->attribute_label[$key];
|
||||
$type = $this->attribute_type[$key];
|
||||
$help = ''; // Not supported with old syntax
|
||||
$hidden = (empty($list) ? 1 : 0); // If $list empty, we are sure it is hidden, otherwise we show. If it depends on mode (view/create/edit form or list, this must be filtered by caller)
|
||||
$hidden = 0; // hidden option only available for new syntax
|
||||
}
|
||||
|
||||
if ($hidden) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user