diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-26 23:53:20 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-26 23:53:20 +0000 |
commit | b8127a29c56143337a292d20d79be40101a1f869 (patch) | |
tree | a764f036f43f131c212e2e4c786b209bbb17a7db | |
parent | 14b0d96870fca9cef9a8556eda1d107a19210af1 (diff) | |
download | brdo-b8127a29c56143337a292d20d79be40101a1f869.tar.gz brdo-b8127a29c56143337a292d20d79be40101a1f869.tar.bz2 |
#97995 by chx. Only make menu items when the path is correct.
-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 2d53b87e9..17025b031 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -105,7 +105,7 @@ function taxonomy_menu($may_cache) { 'type' => MENU_CALLBACK); } else { - if (is_numeric(arg(3))) { + if (arg(0) == 'admin' && arg(1) == 'content' && arg(2) == 'taxonomy' && is_numeric(arg(3))) { $vid = arg(3); $items[] = array('path' => 'admin/content/taxonomy/'. $vid, 'title' => t('List terms'), |