Closed (fixed)
Project:
Context Ad Serving and Analytics
Version:
6.x-1.13-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Apr 2010 at 14:37 UTC
Updated:
28 Apr 2010 at 21:30 UTC
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
Comment #1
cntlscrut commented