Browse files

Fix bug in MenuAdmin::removeEntry

  • Loading branch information...
1 parent cb31cba commit 45d316ec3d81888d9d5b7bbf39424aa787f34ccf @mattab mattab committed Mar 10, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/Menu/MenuAdmin.php
View
4 core/Menu/MenuAdmin.php
@@ -106,8 +106,8 @@ public function getCurrentAdminMenuName()
return false;
}
- public static function removeEntry($menuName)
+ public static function removeEntry($menuName, $subMenuName)
{
- MenuAdmin::getInstance()->remove('General_Settings', $menuName);
+ MenuAdmin::getInstance()->remove($menuName, $subMenuName);
}
}

0 comments on commit 45d316e

Please sign in to comment.