[geeklog-devel] COM_isAnonUser

Dirk Haun dirk at haun-online.de
Sat Dec 29 09:50:06 EST 2007

Joe Mucchiello wrote:

>     return $uid <= 1;

Calling COM_isAnonUser() when $_USER['uid'] is not set would result in
this comparing

    '' <= 1

which is a little odd.

There is some redundant code in that function, but some of it is necessary.

bye, Dirk


More information about the geeklog-devel mailing list