diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 04:52:38 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 04:52:38 +0000 |
commit | f7b60705519ed3df6d9205ef306cd37ce6b0eee9 (patch) | |
tree | 51ca7ed30fcca34b573b8e668936271511a5ce2f | |
parent | dd4b959ad23456b1861c411133888afa70aaad78 (diff) | |
download | brdo-f7b60705519ed3df6d9205ef306cd37ce6b0eee9.tar.gz brdo-f7b60705519ed3df6d9205ef306cd37ce6b0eee9.tar.bz2 |
#102718: Fix multistep form API argument passing.
-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 292bc6398..d2d88c0b4 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -89,7 +89,7 @@ function drupal_get_form($form_id) { $form = call_user_func_array('drupal_retrieve_form', $args); unset($_SESSION['form'][$_POST['form_build_id']]); if (isset($form['#multistep']) && $form['#multistep']) { - $_SESSION['form'][$form_build_id] = $args; + $_SESSION['form'][$form_build_id] = array('timestamp' => time(), 'args' => $args); $form['#build_id'] = $form_build_id; } drupal_prepare_form($args[0], $form); |