- Patch #45854 by Jaza: fixed problem with menu_rebuild().
parent
87da28f8d4
commit
ca9f0fab45
|
@ -218,6 +218,9 @@ function menu_get_menu() {
|
||||||
|
|
||||||
// Make sure items that cannot be cached are added.
|
// Make sure items that cannot be cached are added.
|
||||||
_menu_append_contextual_items();
|
_menu_append_contextual_items();
|
||||||
|
|
||||||
|
// Reset the cached $menu in menu_get_item().
|
||||||
|
menu_get_item(NULL, NULL, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $_menu;
|
return $_menu;
|
||||||
|
|
Loading…
Reference in New Issue