diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-19 02:43:40 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-19 02:43:40 +0000 |
commit | dae71fe86292a9f13a100fa0b3cfe0454730f6c9 (patch) | |
tree | 40ca634ac505db3245ecbc41af5a5d253512e5fd /modules/taxonomy/taxonomy.pages.inc | |
parent | 1e8ee589bb8a413507239f0ddc5df01c82669b2d (diff) | |
download | brdo-dae71fe86292a9f13a100fa0b3cfe0454730f6c9.tar.gz brdo-dae71fe86292a9f13a100fa0b3cfe0454730f6c9.tar.bz2 |
#190850 by Poetro and Robin Monks: Replace hard-coded taxonomy links by taxonomy_term_path().
Diffstat (limited to 'modules/taxonomy/taxonomy.pages.inc')
-rw-r--r-- | modules/taxonomy/taxonomy.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index bcaffbf25..74f0fd2a0 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -35,7 +35,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { $breadcrumb = array(); while ($parents = taxonomy_get_parents($current->tid)) { $current = array_shift($parents); - $breadcrumb[] = l($current->name, 'taxonomy/term/' . $current->tid); + $breadcrumb[] = l($current->name, taxonomy_term_path($current)); } $breadcrumb[] = l(t('Home'), NULL); $breadcrumb = array_reverse($breadcrumb); |