diff --git a/includes/menu.inc b/includes/menu.inc index 33fcd919c8646d30fea0a24e58a187fc8560e39a..10d4cd370f37618ab08a862d116b3a477d57176f 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -218,6 +218,9 @@ function menu_get_menu() { // Make sure items that cannot be cached are added. _menu_append_contextual_items(); + + // Reset the cached $menu in menu_get_item(). + menu_get_item(NULL, NULL, TRUE); } return $_menu;