diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-30 07:50:10 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-30 07:50:10 +0000 |
commit | 4f97a2a9938626ced15787558e3d462ec3916be1 (patch) | |
tree | 41fd8b05222c309cf0d22903c8e9bf014e8a35a8 | |
parent | e57fac565a11a7350abebd26ec3a47c642330e7a (diff) | |
download | brdo-4f97a2a9938626ced15787558e3d462ec3916be1.tar.gz brdo-4f97a2a9938626ced15787558e3d462ec3916be1.tar.bz2 |
#81193 by chx. Pass $edit to #process functions.
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index d8f364266..40ab647ce 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); } } |