Hi,
I found a bug in the code (line ~1785)
function userpoints_get_default_tid() doesn't retun anything. (missing return).
replace
/*
* Wrapper function to return the default tid via API call
*/
function userpoints_get_default_tid() {
variable_get(USERPOINTS_CATEGORY_DEFAULT_TID, NULL);
}with
/*
* Wrapper function to return the default tid via API call
*/
function userpoints_get_default_tid() {
return variable_get(USERPOINTS_CATEGORY_DEFAULT_TID, NULL);
}
Comments
Comment #1
kbahey commentedThis was fixed in 6.x-1.x-dev.