From 738bf09f92d6c268c71c8f38311c8af7d2659db1 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Sun, 18 Dec 2005 19:58:58 +0000 Subject: Third time around, it turns out that the code where I made that mistake initially is completely unneeded since you won't get to this point if the user is anonymous (or a bot) anyway git-svn-id: file:///svn/phpbb/trunk@5355 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index b5e6f5671a..8cf6efa657 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1675,7 +1675,7 @@ function page_header($page_title = '') $logged_hidden_online++; } - if ( ($row['user_allow_viewonline'] && $row['session_viewonline']) || $auth->acl_get('u_viewonline') ) + if (($row['user_allow_viewonline'] && $row['session_viewonline']) || $auth->acl_get('u_viewonline')) { $user_online_link = ($row['user_type'] <> USER_IGNORE) ? "' . $user_online_link . '' : $user_online_link; $online_userlist .= ($online_userlist != '') ? ', ' . $user_online_link : $user_online_link; -- cgit v1.2.1