diff --git a/modules/tracker.module b/modules/tracker.module
index 36791ecd65cd4ac56bcc549c48ca4c87127c2c38..9b68752ae5f5037e89f4b95adf6e0d46246f6812 100644
--- a/modules/tracker.module
+++ b/modules/tracker.module
@@ -52,12 +52,14 @@ function tracker_page($uid = 0) {
 
   while ($node = db_fetch_object($result)) {
     // Determine the number of comments:
-    if ($all = comment_num_all($node->nid)) {
-      $comments = $all;
-
-      if ($new = comment_num_new($node->nid)) {
-        $comments .= '<br />';
-        $comments .= l(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new');
+    if (module_exist('comment')) {
+      if ($all = comment_num_all($node->nid)) {
+        $comments = $all;
+
+        if ($new = comment_num_new($node->nid)) {
+          $comments .= '<br />';
+          $comments .= l(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new');
+        }
       }
     }
     else {
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module
index 36791ecd65cd4ac56bcc549c48ca4c87127c2c38..9b68752ae5f5037e89f4b95adf6e0d46246f6812 100644
--- a/modules/tracker/tracker.module
+++ b/modules/tracker/tracker.module
@@ -52,12 +52,14 @@ function tracker_page($uid = 0) {
 
   while ($node = db_fetch_object($result)) {
     // Determine the number of comments:
-    if ($all = comment_num_all($node->nid)) {
-      $comments = $all;
-
-      if ($new = comment_num_new($node->nid)) {
-        $comments .= '<br />';
-        $comments .= l(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new');
+    if (module_exist('comment')) {
+      if ($all = comment_num_all($node->nid)) {
+        $comments = $all;
+
+        if ($new = comment_num_new($node->nid)) {
+          $comments .= '<br />';
+          $comments .= l(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new');
+        }
       }
     }
     else {