Skip to content
Snippets Groups Projects
Commit 5431503e authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1889720 by YesCT, alexpott: Fixed drush does not like when Import...

Issue #1889720 by YesCT, alexpott: Fixed drush does not like when Import translations automatically during installation passes () by ref.
parent d5a893e6
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1349,7 +1349,7 @@ function install_select_language(&$install_state) {
// thow an error.
else {
if (count($files) == 1) {
$install_state['parameters']['langcode'] = array_shift(array_keys($files));
$install_state['parameters']['langcode'] = current(array_keys($files));
return;
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment