diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-18 19:58:58 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-18 19:58:58 +0000 |
commit | 738bf09f92d6c268c71c8f38311c8af7d2659db1 (patch) | |
tree | 660d718991d22fb962700a54a2dcb3350fa4ab78 /phpBB/includes/functions.php | |
parent | 42509c6c5953c709b13279c272e7c35efe57d2a9 (diff) | |
download | forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar.gz forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar.bz2 forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar.xz forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.zip |
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
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 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) ? "<a href=\"{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '">' . $user_online_link . '</a>' : $user_online_link; $online_userlist .= ($online_userlist != '') ? ', ' . $user_online_link : $user_online_link; |