From 8203c8bd6c099146591ad3391fee3c40578e2e6d Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 16 Jun 2008 22:37:00 +0000 Subject: Registers contexts for each menu item. Refs #32 git-svn-id: https://code.elgg.org/elgg/trunk@938 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/toolbox.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default/navigation/toolbox.php') diff --git a/views/default/navigation/toolbox.php b/views/default/navigation/toolbox.php index 7da992d7d..6ee04f00b 100644 --- a/views/default/navigation/toolbox.php +++ b/views/default/navigation/toolbox.php @@ -14,7 +14,8 @@ * */ - $menu = get_register('menu'); + $menu = get_register('menu'); + $contexts = $vars['config']->menucontexts; if (is_array($menu) && sizeof($menu) > 0) { -- cgit v1.2.3