MDL-22585 languages import - fixed regression caused by the inclusion of 'parentlanguage' in 1.9 strings
This commit is contained in:
@@ -248,7 +248,7 @@
|
||||
if ($parent == 'en_utf8') {
|
||||
continue;
|
||||
}
|
||||
if (strpos($parent, '[[') !== false) {
|
||||
if (empty($parent) || strpos($parent, '[[') !== false) {
|
||||
continue; // no parent
|
||||
}
|
||||
if (!isset($installedlangs[$parent])) {
|
||||
|
||||
Reference in New Issue
Block a user