diff --git a/core/includes/menu.inc b/core/includes/menu.inc index 7afc274..64b36ef 100644 --- a/core/includes/menu.inc +++ b/core/includes/menu.inc @@ -2358,7 +2358,7 @@ function menu_set_active_trail($new_trail = NULL) { // a stripped down menu tree containing the active trail only, in case // the given menu has not been built in this request yet. $tree = menu_tree_page_data($preferred_link['menu_name'], NULL, TRUE); - list($key, $curr) = each($tree); + list(, $curr) = each($tree); } // There is no link for the current path. else { @@ -2388,7 +2388,7 @@ function menu_set_active_trail($new_trail = NULL) { } $tree = $curr['below'] ? $curr['below'] : array(); } - list($key, $curr) = each($tree); + list(, $curr) = each($tree); } // Make sure the current page is in the trail to build the page title, by // appending either the preferred link or the menu router item for the