diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/navigation.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/navigation.php b/engine/lib/navigation.php index 0e9ec1c17..27af26be2 100644 --- a/engine/lib/navigation.php +++ b/engine/lib/navigation.php @@ -285,7 +285,9 @@ function elgg_site_menu_setup($hook, $type, $return, $params) { } $return['default'] = $featured; - $return['more'] = $registered; + if (count($registered) > 0) { + $return['more'] = $registered; + } } else { // no featured menu items set $max_display_items = 5; |