Closed (duplicate)
Project:
Drupal core
Version:
x.y.z
Component:
user system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
4 Apr 2006 at 16:37 UTC
Updated:
30 Oct 2006 at 17:26 UTC
This task is to add documentation to the user_load() documentation to make it clear that only by calling user_load() is the user object fully realized. The global $user object is not a fully-realized user object. Before handing $account to another function, always call user_load().
Comments
Comment #1
magico commentedFurther discussion on http://drupal.org/node/91786