summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-29 06:24:06 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-29 06:24:06 +0000
commitd80ec0f421c632e6c9c53ad1319e0c00a9407588 (patch)
tree069fd90fbb0f3a7a69ad95f4e33571df57c25d87
parenta55c0d676bed0c352f515f6b629c7780fb4a9e16 (diff)
downloadbrdo-d80ec0f421c632e6c9c53ad1319e0c00a9407588.tar.gz
brdo-d80ec0f421c632e6c9c53ad1319e0c00a9407588.tar.bz2
- Patch #147501 by yched: fixed reordering of parameters in batch engine.
-rw-r--r--includes/batch.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/batch.inc b/includes/batch.inc
index 30805d808..80971434b 100644
--- a/includes/batch.inc
+++ b/includes/batch.inc
@@ -235,7 +235,7 @@ function _batch_next_set() {
if (isset($current_set['form_submit']) && ($function = $current_set['form_submit']) && function_exists($function)) {
// We use our stored copies of $form and $form_state, to account for
// possible alteration by the submit handlers.
- $function($batch['form_state']['values'], $batch['form'], $batch['form_state']);
+ $function($batch['form'], $batch['form_state'], $batch['form_state']['values']);
}
return TRUE;
}