diff --git a/pathauto.module b/pathauto.module old mode 100755 new mode 100644 index 06738d6..b2906b9 --- a/pathauto.module +++ b/pathauto.module @@ -706,9 +706,8 @@ function pathauto_taxonomy_term_update_alias(stdClass $term, $op, array $options if (!empty($options['alias children'])) { // For all children generate new aliases. - $options['alias children'] = FALSE; unset($options['language']); - foreach (taxonomy_get_children($term->tid) as $subterm) { + foreach (taxonomy_get_children($term->tid, $term->vid) as $subterm) { pathauto_taxonomy_term_update_alias($subterm, $op, $options); } }