--- taxonomy_block.module_old	2005-12-10 01:05:34.000000000 +0000
+++ taxonomy_block.module	2006-01-30 14:13:38.777447960 +0000
@@ -232,11 +232,11 @@
   if ($result) {
     if ($result->type == 'term') {
       $tids = taxonomy_get_children($result->tid);
+      $tids[$result->tid] = $result->tid;
     }
     else {
-      $tids = taxonomy_get_children($result->tid, $result->tid);
+      $tids = taxonomy_get_children(0, $result->tid);
     }
-    $tids[$result->tid] = $result->tid;
 
     $nodes = db_query(db_rewrite_sql('SELECT DISTINCT(n.nid), n.title, r.body, sticky, created FROM {term_node} t INNER JOIN {node} n ON t.nid = n.nid INNER JOIN {node_revisions} r ON r.vid = n.vid WHERE t.tid IN (%s) AND n.status = 1 ORDER BY sticky DESC, created DESC LIMIT %d'), implode(array_keys($tids), ','), $result->length);
 
