diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/navigation/menu/user_hover.php | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/views/default/navigation/menu/user_hover.php b/views/default/navigation/menu/user_hover.php index 8e3c4de9f..e32e5ab57 100644 --- a/views/default/navigation/menu/user_hover.php +++ b/views/default/navigation/menu/user_hover.php @@ -24,14 +24,11 @@ echo "<li>$name_link</li>"; // actions if (elgg_is_logged_in() && $actions) { - echo '<li>'; - foreach ($actions as $menu_item) { - echo elgg_view('navigation/menu/elements/section', array( - 'class' => "elgg-menu elgg-menu-hover-actions", - 'items' => $actions, - )); - } + echo elgg_view('navigation/menu/elements/section', array( + 'class' => "elgg-menu elgg-menu-hover-actions", + 'items' => $actions, + )); echo '</li>'; } |