diff --git a/core/modules/user/user.pages.inc b/core/modules/user/user.pages.inc index 7c11cd0..6acd89c 100644 --- a/core/modules/user/user.pages.inc +++ b/core/modules/user/user.pages.inc @@ -145,7 +145,7 @@ function user_pass_submit($form, &$form_state) { } } else { - if ($form_state['clicked_button']['#name'] == 'submit') { + if ($form_state['triggering_element']['#name'] == 'submit') { $chosen_account = $form_state['values']['choose_account']; $account = $form_state['storage']['accounts'][$chosen_account]; }