Commit 3d41ec90 authored by webchick's avatar webchick
Browse files

#368729 by meba: (i18n sprint) Fix error during multilingual installation...

#368729 by meba: (i18n sprint) Fix error during multilingual installation because of NULL value on required field.
parent 29c8e40e
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment