From d80ec0f421c632e6c9c53ad1319e0c00a9407588 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 29 May 2007 06:24:06 +0000 Subject: - Patch #147501 by yched: fixed reordering of parameters in batch engine. --- includes/batch.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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; } -- cgit v1.2.3