summaryrefslogtreecommitdiff
path: root/includes/ajax.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-31 19:34:56 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-31 19:34:56 +0000
commite0871ec49bb81adff156d4bc7cf2d9f8b50d04a0 (patch)
tree8bc1018438e0a1aa6be4faa514bef2fbbe5b632b /includes/ajax.inc
parent759c2955c3d1119d1ce597677e67ffd12f4dc2c8 (diff)
downloadbrdo-e0871ec49bb81adff156d4bc7cf2d9f8b50d04a0.tar.gz
brdo-e0871ec49bb81adff156d4bc7cf2d9f8b50d04a0.tar.bz2
- Patch #671184 by Scott Reynolds, sun, effulgentsia, yched, rfay, Pasqualle: AJAX form can submit inappropriately to system/ajax after failed validation.
Diffstat (limited to 'includes/ajax.inc')
-rw-r--r--includes/ajax.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ajax.inc b/includes/ajax.inc
index fbf1da89e..8a55adb58 100644
--- a/includes/ajax.inc
+++ b/includes/ajax.inc
@@ -270,7 +270,7 @@ function ajax_form_callback() {
// This call recreates the form relying solely on the $form_state that
// drupal_process_form() set up.
- $form = drupal_rebuild_form($form_id, $form_state, $form_build_id);
+ $form = drupal_rebuild_form($form_id, $form_state, $form);
// As part of drupal_process_form(), the element that triggered the form
// submission is determined, and in the case of AJAX, it might not be a