From f031f0563cf9e21799dc34c2e638b7db036cfaf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Fri, 14 Dec 2007 11:19:39 +0000
Subject: [PATCH] #180301 by pwolanin: taxonomy term pages did not have their
 argument reflected in the menu hook

---
 modules/taxonomy/taxonomy.module | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 91c8257e249f..9682edfb19f3 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -148,9 +148,10 @@ function taxonomy_menu() {
     'file' => 'taxonomy.admin.inc',
   );
 
-  $items['taxonomy/term'] = array(
+  $items['taxonomy/term/%'] = array(
     'title' => 'Taxonomy term',
     'page callback' => 'taxonomy_term_page',
+    'page arguments' => array(2),
     'access arguments' => array('access content'),
     'type' => MENU_CALLBACK,
     'file' => 'taxonomy.pages.inc',
-- 
GitLab