From 569f19d8ff89539eb8d38b1ca1b07a2baa41852c Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 18 Dec 2010 17:47:50 +0000 Subject: half way through converting submenu to new menu code - pages and groups are the two major users left git-svn-id: http://code.elgg.org/elgg/trunk@7669 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggMenuItem.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/classes/ElggMenuItem.php') diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php index af7bbc9c2..f2eb1534f 100644 --- a/engine/classes/ElggMenuItem.php +++ b/engine/classes/ElggMenuItem.php @@ -87,6 +87,9 @@ class ElggMenuItem { } $item = new ElggMenuItem($options['name'], $options['title'], $options['url']); + unset($options['name']); + unset($options['title']); + unset($options['url']); // special catch in case someone uses context rather than contexts if (isset($options['context'])) { -- cgit v1.2.3