Commit 5431503e authored by webchick's avatar webchick
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
......@@ -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 {
......
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