diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ElggMenuBuilder.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engine/classes/ElggMenuBuilder.php b/engine/classes/ElggMenuBuilder.php index 26b0de734..276cb6b2c 100644 --- a/engine/classes/ElggMenuBuilder.php +++ b/engine/classes/ElggMenuBuilder.php @@ -128,7 +128,6 @@ class ElggMenuBuilder { $parent_name = $menu_item->getParentName(); if (array_key_exists($parent_name, $current_gen)) { $next_gen[$menu_item->getName()] = $menu_item; - $data = $current_gen[$parent_name]->getData(); if (!in_array($menu_item, $current_gen[$parent_name]->getData('children'))) { $current_gen[$parent_name]->addChild($menu_item); $menu_item->setParent($current_gen[$parent_name]); |