Commit 879589c8 authored by alexpott's avatar alexpott
Browse files

Issue #1964224 by Gábor Hojtsy | YesCT: Fixed config during site install in...

Issue #1964224 by Gábor Hojtsy | YesCT: Fixed config during site install in other language is saved as langcode: en.
parent b92c56b1
......@@ -2384,6 +2384,7 @@ function install_configure_form_submit($form, &$form_state) {
config('system.site')
->set('name', $form_state['values']['site_name'])
->set('mail', $form_state['values']['site_mail'])
->set('langcode', language_default()->langcode)
->save();
config('system.timezone')
......
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