Index: modules/hs_taxonomy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hierarchical_select/modules/hs_taxonomy.module,v
retrieving revision 1.20.2.5
diff -u -F^f -r1.20.2.5 hs_taxonomy.module
--- modules/hs_taxonomy.module	29 Nov 2008 22:19:14 -0000	1.20.2.5
+++ modules/hs_taxonomy.module	30 Nov 2008 18:53:02 -0000
@@ -491,7 +491,7 @@ function _hs_taxonomy_token_termpath_for
 
     // If no lineages could be generated, these tokens cannot be created!
     if (empty($dropbox->lineages)) {
-      return $values;
+      return $terms;
     }
 
     // We pick the first lineage.
