Skip to content

Commit

Permalink
Pass field displayType (aka event type) to getFields
Browse files Browse the repository at this point in the history
  • Loading branch information
ggppdk committed Mar 27, 2018
1 parent 7f0d819 commit 72c6c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/fields/fields.php
Expand Up @@ -385,7 +385,7 @@ private function display($context, $item, $params, $displayType)
$params = new Registry($params);
}

$fields = FieldsHelper::getFields($context, $item, true);
$fields = FieldsHelper::getFields($context, $item, $displayType);

if ($fields)
{
Expand Down

0 comments on commit 72c6c7d

Please sign in to comment.