This function causes problems on the basic views, as the default_tid is never returned:-

function userpoints_get_default_tid() {
variable_get(USERPOINTS_CATEGORY_DEFAULT_TID, NULL);
}

This fixes it :-

function userpoints_get_default_tid() {
return variable_get(USERPOINTS_CATEGORY_DEFAULT_TID, NULL);
}

Comments

kbahey’s picture

Version: 5.x-3.7 » 5.x-3.x-dev
Status: Active » Fixed

Fixed in 5.x-3.x-dev. Should be in the download tarball in 24 hours.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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