### Eclipse Workspace Patch 1.0 #P pathauto Index: pathauto_node.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/pathauto/pathauto_node.inc,v retrieving revision 1.47.2.1 diff -u -r1.47.2.1 pathauto_node.inc --- pathauto_node.inc 5 Aug 2008 17:28:13 -0000 1.47.2.1 +++ pathauto_node.inc 10 Nov 2009 18:33:23 -0000 @@ -108,7 +108,15 @@ if (module_exists('taxonomy')) { // Must populate the terms for the node here for the category // placeholders to work - $node->taxonomy = array_keys(taxonomy_node_get_terms($node)); + $taxonomy = array(); + foreach ($node->taxonomy AS $key => $value) { + if ( isset($taxonomy[$value->vid]) ) { + array_push($taxonomy[$value->vid], $key); + } else { + $taxonomy[$value->vid] = array($key); + } + } + $node->taxonomy = $taxonomy; } $placeholders = pathauto_get_placeholders('node', $node); $src = "node/$node->nid";