Skip to content

Commit

Permalink
Overrides do not find 3rd party plugins languages when files are in t…
Browse files Browse the repository at this point in the history
…he (#19740)

plugin
  • Loading branch information
infograf768 authored and Michael Babker committed Feb 26, 2018
1 parent 3375f08 commit bfc2fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_languages/models/strings.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function refresh()
$files = array_merge($files, JFolder::files($base . '/templates', $language . '.*ini$', 3, true));

// Parse language directories of plugins.
$files = array_merge($files, JFolder::files(JPATH_PLUGINS, $language . '.*ini$', 3, true));
$files = array_merge($files, JFolder::files(JPATH_PLUGINS, $language . '.*ini$', 4, true));

// Parse all found ini files and add the strings to the database cache.
foreach ($files as $file)
Expand Down

0 comments on commit bfc2fdf

Please sign in to comment.