diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-14 01:01:15 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-14 01:01:15 +0000 |
commit | 3cd232e5d4ad60b4df6f19ce2ec5d750957eb50e (patch) | |
tree | 73649192a879f147277e8be6d9dbbfcab113db12 /modules | |
parent | 860f49bacbd70f39b3c44976edd6b9241dbc545a (diff) | |
download | brdo-3cd232e5d4ad60b4df6f19ce2ec5d750957eb50e.tar.gz brdo-3cd232e5d4ad60b4df6f19ce2ec5d750957eb50e.tar.bz2 |
#33772 by dfg, add title to last breadcrumb element.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
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); |