Skip to content

Commit

Permalink
Wrong function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ggppdk committed Mar 27, 2018
1 parent 2e38e6c commit cb7db23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_fields/helpers/fields.php
Expand Up @@ -188,7 +188,7 @@ function ($f)
$field->rawvalue = $field->value;

// If boolean prepare, if int, it is the event type: 1 - After Title, 2 - Before Display, 3 - After Display, 0 - Do not prepare
if ($prepareValue && (is_boolean($prepareValue) || $prepareValue === (int) $field->params->get('display', '2')))
if ($prepareValue && (is_bool($prepareValue) || $prepareValue === (int) $field->params->get('display', '2')))
{
JPluginHelper::importPlugin('fields');

Expand Down

0 comments on commit cb7db23

Please sign in to comment.