Skip to content
Snippets Groups Projects
Commit 4f97a2a9 authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

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

parent e57fac56
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment