Commit b8127a29 authored by drumm's avatar drumm
Browse files

#97995 by chx. Only make menu items when the path is correct.

parent 14b0d968
......@@ -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'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment