Closed (fixed)
Project:
First login
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Mar 2012 at 18:17 UTC
Updated:
17 Mar 2012 at 21:42 UTC
Your documentation says that a user can pass NULL for the $uid arg (or not supply an argument), but your first line of code in that function will return if $uid is null. You need to change:
if(!$uid) {
return;
}
to:
if($uid === 0) {
return;
}
Comments
Comment #1
afox commentedThanks, fixed in dev.
Comment #1.0
afox commentedadded ;