summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-10-17 09:04:20 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-10-17 09:04:20 -0700
commit5c9eab059c290098b6114a67559d8c7d9b5d3a16 (patch)
tree594b1e839ba36a081e2efcd2c4160d3b9186aef4 /modules/taxonomy
parent0710e3cd5e84650c31373d505e80fac842655375 (diff)
downloadbrdo-5c9eab059c290098b6114a67559d8c7d9b5d3a16.tar.gz
brdo-5c9eab059c290098b6114a67559d8c7d9b5d3a16.tar.bz2
Issue #1041906 by Monochrome, bobodrone, ELC, ctibor, DamienMcKenna: Fixed Taxonomy term menu link title overrides term page title.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.pages.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc
index 0cca252d7..2a8d961a3 100644
--- a/modules/taxonomy/taxonomy.pages.inc
+++ b/modules/taxonomy/taxonomy.pages.inc
@@ -14,6 +14,9 @@
* The page content.
*/
function taxonomy_term_page($term) {
+ // Assign the term name as the page title.
+ drupal_set_title($term->name);
+
// Build breadcrumb based on the hierarchy of the term.
$current = (object) array(
'tid' => $term->tid,