mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-17573 fixed problem when en_utf8 sopecified as parent
This commit is contained in:
parent
07f6711889
commit
ed8453a625
@ -5159,7 +5159,7 @@ function get_parent_language($lang=null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$parentlang = get_string('parentlanguage');
|
$parentlang = get_string('parentlanguage');
|
||||||
if ($parentlang === '[[parentlanguage]]' or strpos($parentlang, '<') !== false) {
|
if ($parentlang === 'en_utf8' or $parentlang === '[[parentlanguage]]' or strpos($parentlang, '<') !== false) {
|
||||||
$parentlang = '';
|
$parentlang = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user