Commit 867acb16 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fix up language strings being broken for non plugin things.

parent 56400e10
......@@ -26,7 +26,6 @@
defined('INTERNAL') || die();
/**
* This function checks core and plugins
* for which need to be upgraded/installed
......@@ -340,7 +339,7 @@ function get_string($identifier, $section='mahara') {
$docroot = get_config('docroot');
$locations = array();
if ($section == 'mahara' || $section == 'langconfig') {
if (false === strpos($section, '.')) {
$locations[] = $docroot . 'lang/';
}
else {
......
Markdown is supported
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