summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-17 05:42:42 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-17 05:42:42 +0000
commitfd7a32443705f6b4adcf77a6d6480301f90d5858 (patch)
tree973ffefc89807e6d8248ca849eb0892b73b975a2 /modules/user
parent00319d8e9a8b35148a6856d3380d572c571b94dc (diff)
downloadbrdo-fd7a32443705f6b4adcf77a6d6480301f90d5858.tar.gz
brdo-fd7a32443705f6b4adcf77a6d6480301f90d5858.tar.bz2
#645374 follow-up by sun: Make entity ids available to confirm form submit handlers.
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.pages.inc2
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,