Index: auto_nodetitle.module =================================================================== --- auto_nodetitle.module (revision 86) +++ auto_nodetitle.module (working copy) @@ -78,6 +78,12 @@ function auto_nodetitle_is_needed($node) * Sets the automatically generated nodetitle for the node */ function auto_nodetitle_set_title(&$node) { + if (module_exists('taxonomy') && !empty($node->taxonomy)) { + // Load taxonomy terms so term-raw works. + foreach ($node->taxonomy as $tid => &$term) { + $term = taxonomy_get_term($tid); + } + } $types = node_get_types(); $pattern = variable_get('ant_pattern_'. $node->type, ''); if (trim($pattern)) {