diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 14:49:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 14:49:08 +0000 |
commit | 542d69fbf90805326885d34f2d40e3c722ff4c2d (patch) | |
tree | d54d895d4f352965dd121f1f0a7281e97dc5c5ce /includes | |
parent | 5028d5fba9823b767d05925117d9ffc515a3d215 (diff) | |
download | brdo-542d69fbf90805326885d34f2d40e3c722ff4c2d.tar.gz brdo-542d69fbf90805326885d34f2d40e3c722ff4c2d.tar.bz2 |
#547846 by David_Rothstein: Fixed a missing reference operator that caused Drupal installation to fail on PHP 5.3.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/form.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/form.inc b/includes/form.inc index 2256f4f05..e9030efe6 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -442,6 +442,9 @@ function drupal_retrieve_form($form_id, &$form_state) { } } + // We need to pass $form_state by reference in order for forms to modify it, + // since call_user_func_array() requires that referenced variables be passed + // explicitly. $args = array_merge(array(&$form_state), $args); // If $callback was returned by a hook_forms() implementation, call it. |