aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/menu/user_hover.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-21 00:40:59 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-21 00:40:59 +0000
commit3f2573a993f2367ffff50c7af296f0f3aea17561 (patch)
treece59e8acac67292bcfdc7f69495df4a17d45789c /views/default/navigation/menu/user_hover.php
parent90939d9d06fe043ca2315bfb5b241619a0008586 (diff)
downloadelgg-3f2573a993f2367ffff50c7af296f0f3aea17561.tar.gz
elgg-3f2573a993f2367ffff50c7af296f0f3aea17561.tar.bz2
Fixes #3203 not calling the view menu section code once per item
git-svn-id: http://code.elgg.org/elgg/trunk@8797 36083f99-b078-4883-b0ff-0f9b5a30f544
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>';
}