diff --git a/pathauto.module b/pathauto.module index 6305820..00d4275 100644 --- a/pathauto.module +++ b/pathauto.module @@ -913,7 +913,7 @@ function pathauto_taxonomy_term_update_alias(stdClass $term, $op, array $options module_load_include('inc', 'pathauto'); $uri = entity_uri('taxonomy_term', $term); - $result = pathauto_create_alias($module, $op, $uri['path'], array('term' => $term), $term->vocabulary_machine_name, $options['language']); + $result = pathauto_create_alias($module, $op, $uri['path'], array('taxonomy_term' => $term), $term->vocabulary_machine_name, $options['language']); if (!empty($options['alias children'])) { // For all children generate new aliases.