Commit 4f97a2a9 authored by drumm's avatar drumm
Browse files

#81193 by chx. Pass $edit to #process functions.

parent e57fac56
......@@ -639,7 +639,7 @@ function form_builder($form_id, $form) {
if (isset($form['#process']) && !$form['#processed']) {
foreach ($form['#process'] as $process => $args) {
if (function_exists($process)) {
$args = array_merge(array($form), $args);
$args = array_merge(array($form), array($edit), $args);
$form = call_user_func_array($process, $args);
}
}
......
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