aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-08 22:03:16 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-08 22:03:16 +0000
commitb8e05e1dccfd77476f91f5665c5d5de0bc26143c (patch)
treec8d2d04217c4fd59fdac64e582eeeb0d7aadcccb /mod/profile/views/default
parent375a3021d73e629883830c1c9aa6fd216d59e6d3 (diff)
downloadelgg-b8e05e1dccfd77476f91f5665c5d5de0bc26143c.tar.gz
elgg-b8e05e1dccfd77476f91f5665c5d5de0bc26143c.tar.bz2
Properly extending profile navigation view.
git-svn-id: http://code.elgg.org/elgg/trunk@6410 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rwxr-xr-xmod/profile/views/default/profile/profile_navigation.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/profile_navigation.php b/mod/profile/views/default/profile/profile_navigation.php
index c7b307046..bf7ece422 100755
--- a/mod/profile/views/default/profile/profile_navigation.php
+++ b/mod/profile/views/default/profile/profile_navigation.php
@@ -50,8 +50,9 @@ switch($section){
<li <?php echo $twitter; ?>><a href="<?php echo $url . 'twitter'; ?>">Twitter</a></li>
<?php
}
+
//insert a view which others can extend
- echo elgg_view('profilenav/extend', $profile);
+ echo elgg_view('profilenav/extend', array('profile' => $profile));
?>
</ul>
</div> \ No newline at end of file