The comments point total is added back to the db total twice.

Once in the userpoints_retroactive_comments function,
and then again in userpoints_userpointsapi.

If you comment out line #79 in the userpoints_retroactive.module file, it fixes the bug.
(or you can use the patch provided - it does the same thing)

This problem might have alredy been addressed in the 5.x version, but I
thought I should post this fix anyway.

CommentFileSizeAuthor
userpoints_retroactive.patch1.97 KBjenlampton

Comments

kbahey’s picture

Priority: Critical » Normal
jredding’s picture

Status: Active » Closed (fixed)
jredding’s picture

Project: User Points » User Points Contributed modules
Version: 4.7.x-1.x-dev » 5.x-2.0