Closed (fixed)
Project:
Flag Friend
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2009 at 15:06 UTC
Updated:
2 Apr 2009 at 17:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
sirkitree commentedHrm. it seems I need to do something like check the status first.
If you are 'Denying' a friend request, it should be 'unflag'.
If you are 'Removing' a friend, it should be an 'unfriend'.
$flag->theme('unflag', $uid) should be used when we need to 'unflag'.
flag_friend_create_link() should be used when we need to 'unfriend'.
Try this patch.
It should fix the Deny and Remove link to both work as described above.
Comment #2
sirkitree commentedComment #3
dropchew commentedYap it works now ^_^
Comment #4
sirkitree commentedcommitted: http://drupal.org/cvs?commit=185646