diff options
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 7bfbda394b..eb7d5815a3 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3539,7 +3539,7 @@ function page_header($page_title = '', $display_online_list = true) 'U_SEARCH_UNANSWERED' => append_sid('search', 'search_id=unanswered'), 'U_SEARCH_ACTIVE_TOPICS'=> append_sid('search', 'search_id=active_topics'), 'U_DELETE_COOKIES' => append_sid('ucp', 'mode=delete_cookies'), - 'U_TEAM' => append_sid('memberlist', 'mode=leaders'), + 'U_TEAM' => ($user->data['user_id'] != ANONYMOUS && !$auth->acl_get('u_viewprofile')) ? '' : append_sid('memberlist', 'mode=leaders'), 'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid('ucp', 'mode=restore_perm') : '', 'S_USER_LOGGED_IN' => ($user->data['user_id'] != ANONYMOUS) ? true : false, |