summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-04 04:42:26 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-04 04:42:26 +0000
commit3d41ec909fde305ecac0a76d6d134e0dd3551254 (patch)
treeae3a3e70d5d73e964ccf77189c524658e3e989bd
parent29c8e40e912f8975011224f824977b2353fe07b5 (diff)
downloadbrdo-3d41ec909fde305ecac0a76d6d134e0dd3551254.tar.gz
brdo-3d41ec909fde305ecac0a76d6d134e0dd3551254.tar.bz2
#368729 by meba: (i18n sprint) Fix error during multilingual installation because of NULL value on required field.
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index 59f2c0d19..60834d72e 100644
--- a/install.php
+++ b/install.php
@@ -680,7 +680,7 @@ function install_tasks($profile, $task) {
if (!empty($install_locale) && ($install_locale != 'en')) {
include_once DRUPAL_ROOT . '/includes/locale.inc';
// Enable installation language as default site language.
- locale_add_language($install_locale, NULL, NULL, NULL, NULL, NULL, 1, TRUE);
+ locale_add_language($install_locale, NULL, NULL, NULL, '', NULL, 1, TRUE);
// Collect files to import for this language.
$batch = locale_batch_by_language($install_locale, '_install_locale_initial_batch_finished');
if (!empty($batch)) {