Index: subscriptions_og.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/subscriptions_og/Attic/subscriptions_og.module,v
retrieving revision 1.1.2.10
diff -u -r1.1.2.10 subscriptions_og.module
--- subscriptions_og.module	18 Feb 2008 06:01:28 -0000	1.1.2.10
+++ subscriptions_og.module	19 Feb 2008 19:21:07 -0000
@@ -77,9 +77,9 @@
       // $arg0 is $event array.
       if ($arg0['module'] == 'node') {
         $node = $arg0['node'];
-        $params['node']['tid'] = array(
-          'join' => 'INNER JOIN {term_node} t ON s.value = t.tid',
-          'where' => 't.nid = %d',
+        $params['node']['group_nid'] = array(
+          'join' => 'INNER JOIN {og_ancestry} a ON s.value = a.group_nid',
+          'where' => 'a.nid = %d',
           'args' => array($node->nid),
         );
         if ($arg0['type'] == 'comment') {
@@ -89,7 +89,7 @@
           $where  = ' AND s.send_updates = 1';
         }
         if (isset($where)) {
-          $params['node']['tid']['where'] .= $where;
+          $params['node']['group_nid']['where'] .= $where;
         }
         return $params;
       }
