[drupal-docs] [bug] Param error in hook_user documentation

fgm drupal-docs at drupal.org
Tue Aug 23 21:08:37 UTC 2005


Issue status update for 
http://drupal.org/node/29487
Post a follow up: 
http://drupal.org/project/comments/add/29487

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  fgm
 Updated by:   fgm
 Status:       active

The first param to hook_user is incorrectly documented for HEAD.
http://drupaldocs.org/api/head/function/hook_user


It is called $type in the API description and in the code fragment, but
$op in the parameter descriptions.


The error is not present in the 4.5 and 4.6 doc, where it is called
$op, or the 4.4 doc where it is called $type, so this look likes a
cutting and pasting error.




fgm




More information about the drupal-docs mailing list