From: Evan Prodromou Date: Tue, 10 Jun 2008 19:59:20 +0000 (-0400) Subject: get current user in views menu X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02e2dfd1aaf085911e56ac672d9674f86262514b;p=quix0rs-gnu-social.git get current user in views menu darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz --- diff --git a/lib/util.php b/lib/util.php index 059def4c3e..614e9f070c 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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)),