There is a php notice warning and an undefined variable to fix.

Comments

kbahey’s picture

Status: Needs review » Fixed

Thank you. This is committed now.

andypost’s picture

Status: Fixed » Needs work

isset/empty - really should be changed only $account/$user

Any reason to get anonymous points? Previous check was done for ignoring $user->uid == 0

kbahey’s picture

It is not clear to me what you are trying to say.

Do you have a patch for what is in CVS now?

andypost’s picture

StatusFileSize
new1.04 KB

Patch.

isset() is checking for NULL but we should check for 0

kbahey’s picture

Status: Needs work » Fixed

Now I understand.

Committed. Thanks for the patch.

Status: Fixed » Closed (fixed)

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