[support] user_load has no roles for anonymous user?

Michel Morelli michel at ziobuddalabs.it
Fri May 8 12:08:54 UTC 2009


Doug ha scritto:
> I am trying to write a module but seem to have screwed something up.
>
> I think before someone logs into D6 the user_load() should
> already have been called and loaded up $user with the "anonymous user" role.
>   
$user->uid = 0 is the anonymous user.

M.

-- 
Michel 'ZioBudda' Morelli                       michel at ziobuddalabs.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net       			MSN: michel at ziobuddalabs.it                   
						JABBER: michel at ziobuddalabs.it



More information about the support mailing list