FIxed language file location, merged from 1.8 MDL-10920
This commit is contained in:
+1
-1
@@ -1604,7 +1604,7 @@ function data_convert_to_roles($data, $teacherroles=array(), $studentroles=array
|
||||
function data_preset_name($shortname, $path) {
|
||||
|
||||
/// We are looking inside the preset itself as a first choice, but also in normal data directory
|
||||
$string = get_string('presetname'.$shortname, 'data', NULL, $path.'/lang/');
|
||||
$string = get_string('modulename', 'datapreset_'.$shortname);
|
||||
|
||||
if (substr($string, 0, 1) == '[') {
|
||||
return $shortname;
|
||||
|
||||
Reference in New Issue
Block a user