Commit d80ec0f4 authored by Dries's avatar Dries

- Patch #147501 by yched: fixed reordering of parameters in batch engine.

parent a55c0d67
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment