What is the preferred way to submit issues? patch or here?

Anonymous users are UID 0, and we want only the registered users.

Latest apt_plugin.module, line 314

if ($user->uid != '' && module_exists('profile')) {

should be

if ($user->uid > 0 && module_exists('profile')) {

Personally, I believe that module_exists is really a wasteful method, and in my own code I check for the existence of the function, but I guess this is more of a coding style.

if(function_exists('profile_load_profile'))

Comments

cntlscrut’s picture

Assigned: Unassigned » cntlscrut
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.