Index: modules/tracker/tracker.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/tracker/tracker.module,v
retrieving revision 1.138
diff -u -p -r1.138 tracker.module
--- modules/tracker/tracker.module	21 Nov 2006 20:14:19 -0000	1.138
+++ modules/tracker/tracker.module	5 Dec 2006 00:33:49 -0000
@@ -92,6 +92,7 @@ function tracker_page($uid = 0) {
     $result = pager_query($sql, 25, 0, $sql_count);
   }
 
+  $rows = array();
   while ($node = db_fetch_object($result)) {
     // Determine the number of comments:
     $comments = 0;
@@ -113,6 +114,10 @@ function tracker_page($uid = 0) {
     );
   }
 
+  if (!count($rows)) {
+    $rows[] = array(array('data' => t('No posts available.'), 'colspan' => '5'));
+  }
+
   $header = array(t('Type'), t('Post'), t('Author'), t('Replies'), t('Last post'));
 
   $output = '<div id="tracker">';
