diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index fefa6702b9d8f7afaa36d4e907fc342fe435d509..8aa1e385e8fb88e5bcbf34a0269ad9d75cd4dfd3 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -1843,7 +1843,7 @@ function install_configure_form_submit($form, &$form_state) { // We precreated user 1 with placeholder values. Let's save the real values. $account = user_load(1); - $merge_data = array('init' => $form_state['values']['account']['mail'], 'roles' => !empty($account->roles) ? $account->roles : array(), 'status' => 1); + $merge_data = array('init' => $form_state['values']['account']['mail'], 'roles' => !empty($account->roles) ? $account->roles : array(), 'status' => 1, 'timezone' => $form_state['values']['date_default_timezone']); user_save($account, array_merge($form_state['values']['account'], $merge_data)); // Load global $user and perform final login tasks. $user = user_load(1);