summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/taxonomy/taxonomy.module2
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'),