diff options
Diffstat (limited to 'views/default/forms')
-rw-r--r-- | views/default/forms/admin/menu/save.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/forms/admin/menu/save.php b/views/default/forms/admin/menu/save.php index 2cafaa89b..c55ff3367 100644 --- a/views/default/forms/admin/menu/save.php +++ b/views/default/forms/admin/menu/save.php @@ -4,8 +4,8 @@ */ // get site menu items -global $CONFIG; -$menu = $CONFIG->menus['site']; +$menu = elgg_get_config('menus'); +$menu = $menu['site']; $builder = new ElggMenuBuilder($menu); $menu = $builder->getMenu('name'); $menu_items = $menu['default']; |