summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.php b/install.php
index 82f6756f6..f99987807 100644
--- a/install.php
+++ b/install.php
@@ -1397,6 +1397,7 @@ function install_import_locales_remaining(&$install_state) {
include_once DRUPAL_ROOT . '/includes/locale.inc';
// Collect files to import for this language. Skip components already covered
// in the initial batch set.
+ $install_locale = $install_state['parameters']['locale'];
$batch = locale_batch_by_language($install_locale, NULL, variable_get('install_locale_batch_components', array()));
// Remove temporary variable.
variable_del('install_locale_batch_components');