Commit c49a925e authored by Dries's avatar Dries

- Patch #357031 by aaronbauman, hinfox, dereine: passing the wrong parameter.

parent d1a12948
......@@ -233,7 +233,7 @@ function _trigger_node($node, $op, $a3 = NULL, $a4 = NULL) {
}
// Since we know about the node, we pass that info along to the action.
$context['node'] = $node;
$result = actions_do($aid, $objects[$action_info['type']], $context, $a4, $a4);
$result = actions_do($aid, $objects[$action_info['type']], $context, $a3, $a4);
}
else {
actions_do($aid, $node, $context, $a3, $a4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment