Index: taxonomy_vtn.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_vtn/taxonomy_vtn.pages.inc,v
retrieving revision 1.1.2.25
diff -u -r1.1.2.25 taxonomy_vtn.pages.inc
--- taxonomy_vtn.pages.inc	22 Dec 2008 00:41:27 -0000	1.1.2.25
+++ taxonomy_vtn.pages.inc	31 Dec 2008 13:44:29 -0000
@@ -285,13 +285,13 @@
           break;
 
         case 'taxonomy_term':
-          $term_goto_path = taxonomy_term_path($term->tid); //'taxonomy/term/'. $term->tid;
+          $term_goto_path = taxonomy_term_path($term); //'taxonomy/term/'. $term->tid;
           //$tcount = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d", $term->tid));
           $tcount = _taxonomy_vtn_count_nodes(array($term->tid), 0);
           break;
 
         case 'taxonomy_term_all':
-          $term_goto_path = taxonomy_term_path($term->tid) .'/all'; //'taxonomy/term/'. $term->tid .'/all';
+          $term_goto_path = taxonomy_term_path($term) .'/all'; //'taxonomy/term/'. $term->tid .'/all';
           //$tcount = taxonomy_term_count_nodes($term->tid);
           $tcount = _taxonomy_vtn_count_nodes(array($term->tid), 'all');
           break;

