diff options
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.pages.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index 3b04278c9..4d2a575f6 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -388,6 +388,8 @@ function user_cancel_confirm_form($form, &$form_state, $account) { } } + // Always provide entity id in the same form key as in the entity edit form. + $form['uid'] = array('#type' => 'value', '#value' => $account->uid); return confirm_form($form, $question, 'user/' . $account->uid, |