Index: pathauto_node.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto_node.inc,v retrieving revision 1.7 diff -u -r1.7 pathauto_node.inc --- pathauto_node.inc 20 Aug 2005 19:28:15 -0000 1.7 +++ pathauto_node.inc 6 Sep 2005 10:11:58 -0000 @@ -55,11 +55,10 @@ t('For book pages, the full hierarchy from the top-level book.'); } - $nodetypes = node_list(); - foreach ($nodetypes as $ntype) { - $displaytype = node_invoke($ntype,'node_name'); + foreach (node_get_types() as $type => $name) { + $displaytype = node_invoke($type,'node_name'); $fieldlabel = t('Pattern for all '.$displaytype.' paths'); - $settings['patternitems'][$ntype] = $fieldlabel; + $settings['patternitems'][$type] = $fieldlabel; } return array2object($settings); default: