Attempt to write a rule as follows:
Event: "A user relationship has been removed"
Action: "Remove user role"
-> In the Data selector field, [requester] and [requestee] are not available as selections.
I was attempting to write a rule to send private messages to my users (with the privatemsg module) when a relationship was removed when I encountered this bug. I'm assuming this is a bug because in hook_rules_event_info() for the event both requester and requestee appear. Unfortunately, I'm relatively new to PHP and unable to fix this myself.
|#2||user_relationships_1487758_arguments_to_variables_2.patch||1.43 KB||Simon Georges|
PASSED: [[SimpleTest]]: [MySQL] 1,047 pass(es).
[ View ]