diff options
author | cash <cash.costello@gmail.com> | 2011-09-25 17:39:37 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-09-25 17:39:37 -0400 |
commit | 33d791bee34f1b2d5ae6b0c8e184c4bb1c00bc1a (patch) | |
tree | c550c5279c65d048e4c0a980dbc980460ac8adb0 /views | |
parent | b59030e738550161ad2f1aec12e414e5d09bedae (diff) | |
download | elgg-33d791bee34f1b2d5ae6b0c8e184c4bb1c00bc1a.tar.gz elgg-33d791bee34f1b2d5ae6b0c8e184c4bb1c00bc1a.tar.bz2 |
Fixes #3876 fixed dangling more site menu when items are manually selected - thanks to JEBailey
Diffstat (limited to 'views')
-rw-r--r-- | views/default/navigation/menu/site.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/navigation/menu/site.php b/views/default/navigation/menu/site.php index e2d3aa8fa..38b42bda9 100644 --- a/views/default/navigation/menu/site.php +++ b/views/default/navigation/menu/site.php @@ -11,7 +11,7 @@ foreach ($vars['menu']['default'] as $menu_item) { echo elgg_view('navigation/menu/elements/item', array('item' => $menu_item)); } -if (isset($vars['menu']['more'])) { +if (isset($vars['menu']['more']) && !empty($vars['menu']['more'])) { echo '<li class="elgg-more">'; $more = elgg_echo('more'); |