diff --git a/src/Orchard.Web/Core/Navigation/Drivers/MenuWidgetPartDriver.cs b/src/Orchard.Web/Core/Navigation/Drivers/MenuWidgetPartDriver.cs index 595e9aa6a..97bfe98b2 100644 --- a/src/Orchard.Web/Core/Navigation/Drivers/MenuWidgetPartDriver.cs +++ b/src/Orchard.Web/Core/Navigation/Drivers/MenuWidgetPartDriver.cs @@ -93,7 +93,7 @@ namespace Orchard.Core.Navigation.Drivers { } // inject the current page - if (!part.AddCurrentPage) { + if (!part.AddCurrentPage && selectedPath != null) { result.RemoveAt(result.Count - 1); }