summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)),