mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +08:00
Removing error message when previous menu could not be found.
Would happen when deleting a menu. --HG-- branch : 1.x
This commit is contained in:
@@ -58,7 +58,6 @@ namespace Orchard.Core.Navigation.Controllers {
|
||||
: menus.FirstOrDefault(menu => menu.Id == menuId);
|
||||
|
||||
if (currentMenu == null && menuId != null) { // incorrect menu id passed
|
||||
Services.Notifier.Error(T("Menu not found: {0}", menuId));
|
||||
return RedirectToAction("Index");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user