From 3cd232e5d4ad60b4df6f19ce2ec5d750957eb50e Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Fri, 14 Jul 2006 01:01:15 +0000 Subject: #33772 by dfg, add title to last breadcrumb element. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 93c90b0ca..edb8386d9 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1251,7 +1251,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { case 'page': // Build breadcrumb based on first hierarchy of first term: $current->tid = $tids[0]; - $breadcrumbs = array(array('path' => $_GET['q'])); + $breadcrumbs = array(array('path' => $_GET['q'], 'title' => $names[0])); while ($parents = taxonomy_get_parents($current->tid)) { $current = array_shift($parents); $breadcrumbs[] = array('path' => 'taxonomy/term/'. $current->tid, 'title' => $current->name); -- cgit v1.2.3