Index: interests.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/interests/interests.module,v
retrieving revision 1.7.2.2
diff -u -p -r1.7.2.2 interests.module
--- interests.module	3 Jun 2009 11:24:58 -0000	1.7.2.2
+++ interests.module	20 Dec 2010 09:16:28 -0000
@@ -461,7 +461,7 @@ function interests_my_interests($user) {
     if ($allowed_types[$type]) {
       $nodes = db_query("SELECT n.nid, n.title, SUM(i.counter) AS total_count
                          FROM {interests} i, {term_node} tn, {node} n
-                         WHERE n.nid = tn.nid
+                         WHERE n.vid = tn.vid
                          AND i.tid = tn.tid
                          AND i.uid = %d
                          AND n.type = '%s'
