]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
get current user in views menu
authorEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 19:59:20 +0000 (15:59 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 19:59:20 +0000 (15:59 -0400)
darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz

lib/util.php

index 059def4c3e982a15cc4fe3343a2af30eceabc259..614e9f070c58c62d4b88319deb49ed2a8c6bab39 100644 (file)
@@ -232,6 +232,7 @@ function common_nav_menu() {
 }
 
 function common_views_menu() {
+       $user = common_current_user();
        common_element_start('ul', array('id' => 'nav_views'));
        common_menu_item(common_local_url('all', array('nickname' =>
                                                                                                   $user->nickname)),