Skip to content

Commit

Permalink
Fixes #348, wrong menu level shown when none of the menu's nodes are …
Browse files Browse the repository at this point in the history
…accessible to the user. Expected behavior is that no menu is shown in this case.
  • Loading branch information
NightOwl888 committed Aug 15, 2014
1 parent a32c298 commit 89d0f40
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 89d0f40

Please sign in to comment.