aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-08-26 13:53:41 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-08-26 13:53:41 +0000
commit54b29cc125b3e9fb17418702e649d2cd3930eaa2 (patch)
treed20ee349c66a5756b7d0d888fe5189e668c4ee30 /phpBB/viewonline.php
parent1330d26720d11487ff28d1611d1050b0a29382bc (diff)
downloadforums-54b29cc125b3e9fb17418702e649d2cd3930eaa2.tar
forums-54b29cc125b3e9fb17418702e649d2cd3930eaa2.tar.gz
forums-54b29cc125b3e9fb17418702e649d2cd3930eaa2.tar.bz2
forums-54b29cc125b3e9fb17418702e649d2cd3930eaa2.tar.xz
forums-54b29cc125b3e9fb17418702e649d2cd3930eaa2.zip
Modified header comments
git-svn-id: file:///svn/phpbb/trunk@932 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 94af35e9f1..3fd3ff6aa7 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -1,6 +1,6 @@
<?php
/***************************************************************************
- * viewonline.php
+ * viewonline.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
@@ -11,16 +11,6 @@
*
***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- *
- ***************************************************************************/
$phpbb_root_path = "./";
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
@@ -122,7 +112,7 @@ if( count($onlinerow_reg) )
{
if( !eregi("," . $onlinerow_reg[$i]['user_id'], $displayed_userid_list) )
{
- if( $onlinerow_reg[$i]['user_allow_viewonline'] )
+ if( $onlinerow_reg[$i]['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
$displayed_userid_list .= "," . $onlinerow_reg[$i]['user_id'];