diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 01:49:52 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 01:49:52 +0000 |
commit | ca2d3d64b45e5e69843a090e5e7da3b3ac19f3ac (patch) | |
tree | e5d23b035246f3708452c251e3876c4e9ef3ba05 /mod | |
parent | 2aa481c0ac877eacf643cd71c5701c1c271140da (diff) | |
download | elgg-ca2d3d64b45e5e69843a090e5e7da3b3ac19f3ac.tar.gz elgg-ca2d3d64b45e5e69843a090e5e7da3b3ac19f3ac.tar.bz2 |
using getContent() in menu system in preparation for supporting non-links
git-svn-id: http://code.elgg.org/elgg/trunk@8457 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/profile/views/default/profile/owner_block.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php index d257f03a8..20555d260 100755 --- a/mod/profile/views/default/profile/owner_block.php +++ b/mod/profile/views/default/profile/owner_block.php @@ -28,7 +28,7 @@ $profile_actions = ''; if (elgg_is_logged_in() && $actions) { $profile_actions = '<ul class="elgg-menu">'; foreach ($actions as $action) { - $profile_actions .= '<li>' . $action->getLink(array('class' => 'elgg-button elgg-button-action')) . '</li>'; + $profile_actions .= '<li>' . $action->getContent(array('class' => 'elgg-button elgg-button-action')) . '</li>'; } $profile_actions .= '</ul>'; } |