From 4f97a2a9938626ced15787558e3d462ec3916be1 Mon Sep 17 00:00:00 2001 From: Neil Drumm <drumm@3064.no-reply.drupal.org> Date: Wed, 30 Aug 2006 07:50:10 +0000 Subject: [PATCH] #81193 by chx. Pass $edit to #process functions. --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/form.inc b/includes/form.inc index d8f364266489..40ab647cee01 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -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); } } -- GitLab