Active
Project:
Flag Friend
Version:
7.x-1.0-alpha7
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2011 at 13:29 UTC
Updated:
12 Jul 2012 at 20:59 UTC
i try to assign an action to the flag_friend_approve and flag_friend_request triggers, but nothing happens.
function flag_friend_flag_friend($op, $friend, $user)
seems not working properly.
i try to change the second two lines in this function like this:
// if (function_exists('_trigger_get_hook_aids')) {
// $aids = _trigger_get_hook_aids('flag_friend', $op);
if (function_exists('trigger_get_assigned_actions')) {
$aids = trigger_get_assigned_actions('flag_friend_' . $op);
and then it works.
please check this function again.
thanks.
Comments
Comment #1
sirkitree commentedPlease provide a proper patch. http://drupal.org/patch