user_load has no roles for anonymous user?
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. But for me, now, it isn't. Any idea what I might have screwed up to cause that? Thanks Doug
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@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@ziobuddalabs.it JABBER: michel@ziobuddalabs.it
participants (2)
-
Doug -
Michel Morelli