summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/install.core.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc
index 6dd086f25..ec3a8539b 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -1825,7 +1825,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);