MDL-17573 fixed problem when en_utf8 sopecified as parent

This commit is contained in:
skodak 2009-02-08 22:48:17 +00:00
parent 07f6711889
commit ed8453a625

View File

@ -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 = '';
} }