[documentation] [bug] incorrect params to hook_form_alter
fax8
drupal-docs at drupal.org
Sun Mar 12 11:47:11 UTC 2006
Issue status update for
http://drupal.org/node/47478
Post a follow up:
http://drupal.org/project/comments/add/47478
Project: Documentation
Version: <none>
Component: Developer Guide
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: fax8
Updated by: fax8
-Status: active
+Status: fixed
Even if drupaldocs.org isn't updated yet this has been fixed on cvs
Fabio
fax8
Previous comments:
------------------------------------------------------------------------
Wed, 01 Feb 2006 23:50:23 +0000 : fax8
currently hook_form_alter has this declaration:
function hook_form_alter($form_id, &$form_values) {
but on the code shown, $form is used
Please change to:
function hook_form_alter($form_id, &$form) {
Thanks
More information about the documentation
mailing list