From 653637402f613b5d4bc9802f59ff2b13571a0388 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 19 Nov 2011 07:59:33 -0500 Subject: Fixes #4102 handling no menu items for site menu --- views/default/navigation/menu/site.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/default/navigation/menu/site.php b/views/default/navigation/menu/site.php index 38b42bda9..24c21dd57 100644 --- a/views/default/navigation/menu/site.php +++ b/views/default/navigation/menu/site.php @@ -6,12 +6,15 @@ * @uses $vars['menu']['more'] */ +$default_items = elgg_extract('default', $vars['menu'], array()); +$more_items = elgg_extract('more', $vars['menu'], array()); + echo '