From dae71fe86292a9f13a100fa0b3cfe0454730f6c9 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 19 Sep 2008 02:43:40 +0000 Subject: #190850 by Poetro and Robin Monks: Replace hard-coded taxonomy links by taxonomy_term_path(). --- modules/taxonomy/taxonomy.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.pages.inc') 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); -- cgit v1.2.3