summaryrefslogtreecommitdiff
path: root/modules/trigger
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-03-20 19:14:51 +0000
committerDries Buytaert <dries@buytaert.net>2009-03-20 19:14:51 +0000
commitc49a925eb8172805389f9d5f341e4acd9f5cd2d4 (patch)
treebc008edbda234af9ab784e972f06ad27a71dd6b9 /modules/trigger
parentd1a12948fbd06d171b6507b220b77623bafe111f (diff)
downloadbrdo-c49a925eb8172805389f9d5f341e4acd9f5cd2d4.tar.gz
brdo-c49a925eb8172805389f9d5f341e4acd9f5cd2d4.tar.bz2
- Patch #357031 by aaronbauman, hinfox, dereine: passing the wrong parameter.
Diffstat (limited to 'modules/trigger')
-rw-r--r--modules/trigger/trigger.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/trigger/trigger.module b/modules/trigger/trigger.module
index aeb5bb0fd..3d10c3b68 100644
--- a/modules/trigger/trigger.module
+++ b/modules/trigger/trigger.module
@@ -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);