Skip to content

Commit

Permalink
Fix name of component helper in fieldshelper
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hunziker committed Jan 10, 2017
1 parent 205d94b commit 38e8732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_fields/helpers/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function extract($contextString)
$component = $parts[0];
$eName = str_replace('com_', '', $component);

$path = JPath::clean(JPATH_ADMINISTRATOR . '/components/' . $component . '/helpers/' . $component . '.php');
$path = JPath::clean(JPATH_ADMINISTRATOR . '/components/' . $component . '/helpers/' . $eName . '.php');

if (file_exists($path))
{
Expand Down

0 comments on commit 38e8732

Please sign in to comment.