diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2004-09-01 16:23:20 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2004-09-01 16:23:20 +0000 |
| commit | 47fbaa31fe78337652b19f405dfc7956827552af (patch) | |
| tree | 0f682696929ad64b32ad6675f8f7a1d6b750edbb /phpBB | |
| parent | 0f4ae68276a4d7460570751b8e23023c5219613d (diff) | |
| download | forums-47fbaa31fe78337652b19f405dfc7956827552af.tar forums-47fbaa31fe78337652b19f405dfc7956827552af.tar.gz forums-47fbaa31fe78337652b19f405dfc7956827552af.tar.bz2 forums-47fbaa31fe78337652b19f405dfc7956827552af.tar.xz forums-47fbaa31fe78337652b19f405dfc7956827552af.zip | |
I will not swear, I will not swear ... I will not ... oh f**k it
git-svn-id: file:///svn/phpbb/trunk@4974 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rwxr-xr-x | phpBB/ucp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 867f9edc7b..761bc41c9c 100755 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -353,7 +353,7 @@ if ($user->data['user_id'] == ANONYMOUS || $user->data['user_type'] == USER_INAC // Output listing of friends online $update_time = $config['load_online_time'] * 60; -$sql = 'SELECT DISTINCT u.user_id, u.username, MAX(s.session_time) as online_time, MIN(s.session_allow_viewonline) AS viewonline +$sql = 'SELECT DISTINCT u.user_id, u.username, MAX(s.session_time) as online_time, MIN(s.session_viewonline) AS viewonline FROM ((' . ZEBRA_TABLE . ' z LEFT JOIN ' . SESSIONS_TABLE . ' s ON s.session_user_id = z.zebra_id), ' . USERS_TABLE . ' u) WHERE z.user_id = ' . $user->data['user_id'] . ' |
