diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 17:47:50 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 17:47:50 +0000 |
commit | 569f19d8ff89539eb8d38b1ca1b07a2baa41852c (patch) | |
tree | 0ace0c2792db822cd0db5eae672f1f472a29439a /engine/classes/ElggMenuItem.php | |
parent | 8ec093ecc1bf28c09f5d2dbe3c7bc8e6a2485ac6 (diff) | |
download | elgg-569f19d8ff89539eb8d38b1ca1b07a2baa41852c.tar.gz elgg-569f19d8ff89539eb8d38b1ca1b07a2baa41852c.tar.bz2 |
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
Diffstat (limited to 'engine/classes/ElggMenuItem.php')
-rw-r--r-- | engine/classes/ElggMenuItem.php | 3 |
1 files changed, 3 insertions, 0 deletions
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'])) { |