When you go to "My Account" page, the "Points" is always zero. I found it is caused by one bug in userpoins.module at 1779:

/*
* Wrapper function to return the default tid via API call
*/
function userpoints_get_default_tid() {
variable_get(USERPOINTS_CATEGORY_DEFAULT_TID, NULL);
}

Apparently, it needs a "return". The correct code should be as the following:

When you go to "My Account" page, the "Points" is always zero. I found it is caused by one bug in userpoins.module at 1779:

/*
* Wrapper function to return the default tid via API call
*/
function userpoints_get_default_tid() {
return variable_get(USERPOINTS_CATEGORY_DEFAULT_TID, NULL);
}

Comments

jredding’s picture

This was fixed in the dev version, a new stable version will be released soon. Thanks for pointing it out though.

Status: Fixed » Closed (fixed)

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