Commit c8d2afbb authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix lang path used when getting strings from non-current language

parent 8e1890c0
......@@ -314,7 +314,7 @@ function get_string_location($identifier, $section, $variables, $replacefunc='fo
// Define the locations of language strings for this section
$langstringroot = get_language_root();
$langstringroot = get_language_root($lang);
$langdirectory = ''; // The directory in which the language file for this string should ideally reside, if the language has implemented it
if (false === strpos($section, '.')) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment