From 02e2dfd1aaf085911e56ac672d9674f86262514b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 10 Jun 2008 15:59:20 -0400 Subject: get current user in views menu darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz --- lib/util.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/util.php b/lib/util.php index 059def4c3..614e9f070 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)), -- cgit v1.2.3-54-g00ecf