diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 889dbe2..a112b5e 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -1298,7 +1298,7 @@ function install_select_language(&$install_state) { } // One language, but not an interactive installation. Assume the user // knows what he is doing. - $langcode = current($files); + $file = current($files); $install_state['parameters']['langcode'] = $file->langcode; return; }