Closed (fixed)
Project:
Documentation
Component:
Developer Guide
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2005 at 21:08 UTC
Updated:
17 Jun 2006 at 20:04 UTC
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.
Comments
Comment #1
chx commentedComment #2
rivena commentedMarking fixed because on this page: http://api.drupal.org/api/4.7/function/hook_user there is no $type, and it says $op both in the parameters and the code. What do I know, though. ^.^
Anisa.
code illiterate!
Comment #3
fgm