aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/menu/user_hover.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation/menu/user_hover.php')
-rw-r--r--views/default/navigation/menu/user_hover.php11
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>';
}