diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 20:17:28 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 20:17:28 +0000 |
commit | f947735999c0e646454e3a98b075cf921c4e0bec (patch) | |
tree | 01ab40e105641880117a3b3bdb6849957d2d985d /engine/lib | |
parent | f22b65ccceb95ae55619f34f04bb9955ff07574e (diff) | |
download | elgg-f947735999c0e646454e3a98b075cf921c4e0bec.tar.gz elgg-f947735999c0e646454e3a98b075cf921c4e0bec.tar.bz2 |
Corrects bug that occurred when ElggMenuItem is passed
git-svn-id: http://code.elgg.org/elgg/trunk@8472 36083f99-b078-4883-b0ff-0f9b5a30f544
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; |