MDL-22585 languages import - fixed regression caused by the inclusion of 'parentlanguage' in 1.9 strings

This commit is contained in:
Eloy Lafuente
2010-05-30 10:15:55 +00:00
parent f1608ce3c6
commit 430cb2d510
+1 -1
View File
@@ -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])) {