summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-14 11:19:39 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-14 11:19:39 +0000
commitf031f0563cf9e21799dc34c2e638b7db036cfaf0 (patch)
tree886febea7488141b5b8dd82d1f2c0f1944a2b74b
parentb2dd7765a63b9a9639a7bd9e5d83ac9ad4db6453 (diff)
downloadbrdo-f031f0563cf9e21799dc34c2e638b7db036cfaf0.tar.gz
brdo-f031f0563cf9e21799dc34c2e638b7db036cfaf0.tar.bz2
#180301 by pwolanin: taxonomy term pages did not have their argument reflected in the menu hook
-rw-r--r--modules/taxonomy/taxonomy.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 91c8257e2..9682edfb1 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',