Commit 6839ce96 authored by drumm's avatar drumm
Browse files

#76742 by paranojik, fix a bug preventing editing of forums

parent a7f67e01
......@@ -81,8 +81,8 @@ function forum_menu($may_cache) {
'access' => user_access('administer forums'),
'type' => MENU_LOCAL_TASK);
}
elseif (is_numeric(arg(4))) {
$term = taxonomy_get_term(arg(4));
elseif (is_numeric(arg(5))) {
$term = taxonomy_get_term(arg(5));
// Check if this is a valid term.
if ($term) {
$items[] = array('path' => 'admin/content/forum/edit/container',
......
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