Commit f16f70a8 authored by Dries's avatar Dries

- Patch #146667 by yched: FAPI fix.

parent e31d3bdc
......@@ -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'], $batch['form_state'], $batch['form_state']['values']);
$function($batch['form'], $batch['form_state']);
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