Closed (fixed)
Project:
Voting API
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2008 at 05:15 UTC
Updated:
20 Jun 2008 at 00:51 UTC
First of all thanks for getting this ready for D6. :)
There appears to be a problem with anonymous votes overwriting user votes when the same IP is used. It looks as though the problem is in votingapi_current_user_identifier() exclusively using IP when $user->uid is zero. This will then cause authenticated user votes to be returned when fed directly into votingapi_select_votes().
I've attached a patch fixing the above. Please review.
--
Sammy Spets
Synerger
http://synerger.com
| Comment | File | Size | Author |
|---|---|---|---|
| votingapi.module.200803171614.patch | 667 bytes | sammys |
Comments
Comment #1
eaton commentedThis fix has been integrated in the newer betas. Thanks!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.