Index: token.rules.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/token/Attic/token.rules.inc,v retrieving revision 1.1.2.2 diff -u -p -r1.1.2.2 token.rules.inc --- token.rules.inc 11 Nov 2008 00:23:28 -0000 1.1.2.2 +++ token.rules.inc 17 May 2009 22:07:32 -0000 @@ -61,7 +61,9 @@ function token_rules_input_evaluator_app foreach($used_vars as $name) { $type = $state['variables'][$name]->info['type']; - + if (strpos($type,'taxonomy_')===0) + $type = 'taxonomy'; + $token_id = _token_get_id($type, $vars[$name]); if (isset($token_cache[$token_id]) && $token_cache[$token_id] != $name) { // this is the same variable in another state @@ -92,7 +94,7 @@ function token_rules_input_evaluator_hel '#collapsed' => TRUE, ); $form[$name]['content'] = array( - '#value' => theme('token_help', $info['type'], '['. $name . ':', ']'), + '#value' => theme('token_help', (strpos($info['type'],'taxonomy_')===0)?'taxonomy':$info['type'], '['. $name . ':', ']'), ); } return $form;