[documentation] [bug] incorrect params to hook_form_alter

fax8 drupal-docs at drupal.org
Wed Feb 1 23:50:23 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

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




fax8



More information about the documentation mailing list