Closed (fixed)
Project:
Userpoints Evaporate
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2013 at 00:21 UTC
Updated:
7 Jun 2013 at 19:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
cafuego commentedLooks like my logic in that if() block was not actually right at all.
I've redone one of the queries in that section as a db_update() query instead, which will definitely avoid double WHERE errors. However, I don't have an install to test this on over here, so I'll throw a patch on this issue for you to test. Could you please give the patch a try and see if the query still properly lowers the total points for a given points tid?
Comment #2
Bastlynn commentedOh wow! Fast response! :) Sure, absolutely - I'll test this out and see how it handles :) Apologies for the somewhat terse initial issue, i usually try to set up patches but it was that-kinda-day today. :)
Comment #3
cafuego commentedTerse? Succinct! :-) I had a spare moment at DrupalCon, so I thought I'd have a poke at a patch :-)
Comment #4
cafuego commentedTested and changed the '+' into a '-', so the points happily evaporate rather than magically appear ;-)