Permalink
Browse files

MDL-22585 languages import - fixed regression caused by the inclusion…

… of 'parentlanguage' in 1.9 strings
  • Loading branch information...
1 parent f1608ce commit 430cb2d510d3c316848bbebc2995fd507429d0c8 @stronk7 stronk7 committed May 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/langimport.php
View
2 admin/langimport.php
@@ -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])) {

0 comments on commit 430cb2d

Please sign in to comment.