diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/navigation.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/navigation.php b/engine/lib/navigation.php index 1a0aa51a0..2e6906945 100644 --- a/engine/lib/navigation.php +++ b/engine/lib/navigation.php @@ -41,6 +41,8 @@ function elgg_register_menu_item($menu_name, $menu_item) { elgg_log(print_r($menu_item, true), 'DEBUG'); return false; } + } else { + $item = $menu_item; } $CONFIG->menus[$menu_name][] = $item; |