diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-28 18:50:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-28 18:50:49 +0000 |
commit | 3b32bb6fc2c6866244c274dac52d5c7b5a054339 (patch) | |
tree | 83668b18e224152545411dc9612e73905f1afa93 /install.php | |
parent | ee2afa19d00b9778653863e414dabbc28dcac30b (diff) | |
download | brdo-3b32bb6fc2c6866244c274dac52d5c7b5a054339.tar.gz brdo-3b32bb6fc2c6866244c274dac52d5c7b5a054339.tar.bz2 |
- Patch #146470 by Eaton: install.php was hard-calling the user module's internal FAPI functions, and that line had been missed.
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php index 3578a369d..815ff1345 100644 --- a/install.php +++ b/install.php @@ -387,7 +387,7 @@ function _install_settings_form_validate($db_prefix, $db_type, $db_user, $db_pas /** * Form API submit for install_settings form. */ -function install_settings_form_submit($form_values) { +function install_settings_form_submit($form, &$form_state, $form_values) { global $profile, $install_locale; // Update global settings array and save @@ -946,7 +946,7 @@ function install_configure_form_submit($form, &$form_state, $form_values) { variable_set('date_default_timezone', $form_values['date_default_timezone']); // Turn this off temporarily so that we can pass a password through. variable_set('user_email_verification', FALSE); - user_register_submit($form_values['account'], $form, $form_state); + user_register_submit($form, $form_state, $form_values['account']); variable_set('user_email_verification', TRUE); if (isset($form_values['clean_url'])) { variable_set('clean_url', $form_values['clean_url']); |