Posted by moonray on June 29, 2011 at 11:42am
4 followers
| Project: | Flag Friend |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I'm not 100% under which circumstances this occurs, but sometimes a duplicate (reverse) entry will be added for a user in flag_friends resulting in a skewed friend count.
Comments
#1
Attached patch fixes this problem by adding a check against (reverse) duplicates before inserting a new entry in flag_friends.
#2
Looks sound to me. I didn't have this problem, so it should probably be checked out by the maintainer before being committed.
#3
Committed: http://drupalcode.org/project/flag_friend.git/commitdiff/46e8bb4e111b881...
Thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.