- Patch #146470 by Eaton: install.php was hard-calling the user module's internal FAPI functions, and that line had been missed.
parent
ee2afa19d0
commit
3b32bb6fc2
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue