Closed (fixed)
Project:
Drupal core
Version:
4.6.3
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2005 at 01:43 UTC
Updated:
8 Mar 2006 at 06:15 UTC
http://drupaldocs.org/api/4.6/function/hook_user shows the function signature as:
hook_user($op, &$edit, &$user, $category)
but it can be called with only three parameters in some cases. It would be better to show the signature as:
hook_user($op, &$edit, &$user, $category='') or
hook_user($op, &$edit, &$user, $category=False)
Comments
Comment #1
Steve Simms commentedThis has been fixed in CVS:
http://drupaldocs.org/api/head/function/hook_user
Comment #2
(not verified) commented