Index: modules/trigger/trigger.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/trigger/trigger.module,v
retrieving revision 1.37
diff -u -p -r1.37 trigger.module
--- modules/trigger/trigger.module	29 May 2009 19:15:08 -0000	1.37
+++ modules/trigger/trigger.module	4 Jun 2009 00:31:55 -0000
@@ -212,9 +212,9 @@ function _trigger_normalize_node_context
  */
 function _trigger_node($node, $op, $a3 = NULL, $a4 = NULL) {
   // Keep objects for reuse so that changes actions make to objects can persist.
-  static $objects;
+  $objects = &drupal_static(__FUNCTION__, array());
   // Prevent recursion by tracking which operations have already been called.
-  static $recursion;
+  $recursion = &drupal_static(__FUNCTION__ . ':recursion', array());
   if (isset($recursion[$op])) {
     return;
   }
@@ -347,7 +347,7 @@ function trigger_comment_view($comment) 
  */
 function _trigger_comment($a1, $op) {
   // Keep objects for reuse so that changes actions make to objects can persist.
-  static $objects;
+  $objects = &drupal_static(__FUNCTION__, array());
   $aids = _trigger_get_hook_aids('comment', $op);
   $context = array(
     'hook' => 'comment',
@@ -472,7 +472,7 @@ function trigger_user_view(&$edit, &$acc
  */
 function _trigger_user($op, &$edit, &$account, $category = NULL) {
   // Keep objects for reuse so that changes actions make to objects can persist.
-  static $objects;
+  $objects = &drupal_static(__FUNCTION__, array());
   $aids = _trigger_get_hook_aids('user', $op);
   $context = array(
     'hook' => 'user',
