]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Properly extending profile navigation view.
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 8 Jun 2010 22:03:16 +0000 (22:03 +0000)
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 8 Jun 2010 22:03:16 +0000 (22:03 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6410 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/profile/views/default/profile/profile_navigation.php

index c7b30704647c6896b4ae209736aadb2fba8f2928..bf7ece422995a14fa12e66a95063e660c06dd33e 100755 (executable)
@@ -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