Loading taxonomy_menu_trails.inc +4 −2 Original line number Diff line number Diff line Loading @@ -433,7 +433,8 @@ function _taxonomy_menu_trails_menu_breadcrumb_alter(&$active_trail, $selected_i // Flatten menu tree into injection array. This part was copied // from menu_set_active_trail(). $injection = array(); list($key, $curr) = each($tree); $curr = current($tree); $key = key($tree); while ($curr) { $link = $curr['link']; if ($link['in_active_trail']) { Loading @@ -456,7 +457,8 @@ function _taxonomy_menu_trails_menu_breadcrumb_alter(&$active_trail, $selected_i } $tree = $curr['below'] ? $curr['below'] : array(); } list($key, $curr) = each($tree); $curr = current($tree); $key = key($tree); } // Inject our active trail to the passed active trail right after the "Home" Loading Loading
taxonomy_menu_trails.inc +4 −2 Original line number Diff line number Diff line Loading @@ -433,7 +433,8 @@ function _taxonomy_menu_trails_menu_breadcrumb_alter(&$active_trail, $selected_i // Flatten menu tree into injection array. This part was copied // from menu_set_active_trail(). $injection = array(); list($key, $curr) = each($tree); $curr = current($tree); $key = key($tree); while ($curr) { $link = $curr['link']; if ($link['in_active_trail']) { Loading @@ -456,7 +457,8 @@ function _taxonomy_menu_trails_menu_breadcrumb_alter(&$active_trail, $selected_i } $tree = $curr['below'] ? $curr['below'] : array(); } list($key, $curr) = each($tree); $curr = current($tree); $key = key($tree); } // Inject our active trail to the passed active trail right after the "Home" Loading