From 14548a73772fff6b72b333922f7ce18b85188ccd Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 16 Aug 2014 16:31:30 -0700 Subject: [PATCH] web: small bug fix --- html/user/forum_user_posts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/user/forum_user_posts.php b/html/user/forum_user_posts.php index eb8e9896da..a1f7f9ba14 100644 --- a/html/user/forum_user_posts.php +++ b/html/user/forum_user_posts.php @@ -32,6 +32,7 @@ $items_per_page = 20; $user = BoincUser::lookup_id($userid); $logged_in_user = get_logged_in_user(false); +BoincForumPrefs::lookup($logged_in_user); // Policy for what to show: // Team message board posts: @@ -54,7 +55,6 @@ if ($logged_in_user) { if ($user->id == $logged_in_user->id) { $show_all = true; } else { - BoincForumPrefs::lookup($logged_in_user); if ($logged_in_user->prefs->privilege(0)) { $show_hidden = true; }