diff --git a/src/MvcSiteMapProvider/MvcSiteMapProvider/Web/Html/MenuHelper.cs b/src/MvcSiteMapProvider/MvcSiteMapProvider/Web/Html/MenuHelper.cs index 6094ffae..366bd478 100644 --- a/src/MvcSiteMapProvider/MvcSiteMapProvider/Web/Html/MenuHelper.cs +++ b/src/MvcSiteMapProvider/MvcSiteMapProvider/Web/Html/MenuHelper.cs @@ -1465,11 +1465,6 @@ public static ISiteMapNode GetNodeAtLevel(ISiteMapNode startingNode, int level, } } - if (startingNode != null && startingNode.SiteMap.RootNode != null && allowForwardSearch) - { - return startingNode.SiteMap.RootNode; - } - return null; }