diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-23 07:50:16 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-23 07:50:16 +0000 |
commit | 88d14981f22e14b46b5755e21eb74bea20a7ca00 (patch) | |
tree | 35a3e9f6a22cb62a0b439856b601c23040cfd425 /includes/form.inc | |
parent | 5406c8d9da7e8f904682753757c5898ba6a16cb1 (diff) | |
download | brdo-88d14981f22e14b46b5755e21eb74bea20a7ca00.tar.gz brdo-88d14981f22e14b46b5755e21eb74bea20a7ca00.tar.bz2 |
#84111 by AjK. Be sure to get the right multistep form.
Diffstat (limited to 'includes/form.inc')
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index 71e244204..bf7486f54 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -70,7 +70,7 @@ function drupal_get_form($form_id) { // then go on to the one that was requested if everything works. $form_build_id = md5(mt_rand()); - if (isset($_POST['form_build_id']) && isset($_SESSION['form'][$_POST['form_build_id']])) { + if (isset($_POST['form_build_id']) && isset($_SESSION['form'][$_POST['form_build_id']]) && $_POST['form_id'] == $form_id) { // There's a previously stored multi-step form. We should handle // IT first. $stored = TRUE; |