Index: civinode_groups.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/civinode/lowlevel/civinode_groups.inc,v
retrieving revision 1.1
diff -u -p -r1.1 civinode_groups.inc
--- civinode_groups.inc	18 Apr 2006 04:16:06 -0000	1.1
+++ civinode_groups.inc	20 May 2007 23:00:22 -0000
@@ -44,7 +44,7 @@ function CiviNode_LL_getContactGroup( $c
                     civicrm_subscription_history.method as method';
         }
 
-        $where  = ' WHERE civicrm_contact.id = ' 
+        $where  = ' WHERE civicrm_group_contact.id = ' 
                 . CRM_Utils_Type::escape($contactId, 'Integer') 
                 ." AND civicrm_group.is_active = '1' ";
         
