summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-10 15:59:20 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-10 15:59:20 -0400
commit02e2dfd1aaf085911e56ac672d9674f86262514b (patch)
tree63cbbea64b24238634aab6b9ec2a31e99b0be8ad /lib/util.php
parentcd2e89e2b074ae9e7fbc2e16557c2e5a1f66e2af (diff)
get current user in views menu
darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php1
1 files changed, 1 insertions, 0 deletions
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)),