Closed (fixed)
Project:
Flag Friend
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2011 at 21:07 UTC
Updated:
4 Apr 2011 at 01:31 UTC
To reproduce the issue:
Log in as user A.
Send friend request to user B.
Log in as user B.
Approve friend request from user A.
Visit user page for user A.
"Add friend" link is still present. If clicked, friend status reverts to "Friend requested".
Link should probably say "Un-friend" or something appropriate, and should cancel the "friendship" immediately.
Comments
Comment #1
sirkitree commentedThanks, looks like there was an error in the function flag_friend_determine_friend_status(). The query was constructed incorrectly. The following commit fixes this. http://drupalcode.org/project/flag_friend.git/commitdiff/f0381177c67184d...