aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:30:11 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:30:11 +0000
commite6c79242e6a7debfccc643a09dfab4a4d7746a8a (patch)
tree359aff16844a95c92252eae7879ab0b6f93cd76b /phpBB/viewonline.php
parent*** empty log message *** (diff)
downloadphpbb-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.tar.gz
phpbb-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.tar.bz2
phpbb-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.zip
dumdidum... sorry. ;)
git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 27f512abc5..ea29e09660 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -1,10 +1,10 @@
<?php
-/**
+/**
*
* @package phpBB3
* @version $Id$
-* @copyright (c) 2005 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
@@ -106,7 +106,7 @@ if (!$show_guests)
FROM ' . SESSIONS_TABLE . '
WHERE session_user_id = ' . ANONYMOUS . '
AND session_time >= ' . (time() - ($config['load_online_time'] * 60)) .
- ')';
+ ')';
break;
default:
@@ -125,7 +125,7 @@ if (!$show_guests)
$sql = 'SELECT u.user_id, u.username, u.username_clean, u.user_type, u.user_colour, s.session_id, s.session_time, s.session_page, s.session_ip, s.session_browser, s.session_viewonline
FROM ' . USERS_TABLE . ' u, ' . SESSIONS_TABLE . ' s
WHERE u.user_id = s.session_user_id
- AND s.session_time >= ' . (time() - ($config['load_online_time'] * 60)) .
+ AND s.session_time >= ' . (time() - ($config['load_online_time'] * 60)) .
((!$show_guests) ? ' AND s.session_user_id <> ' . ANONYMOUS : '') . '
ORDER BY ' . $order_by;
$result = $db->sql_query($sql);