diff options
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r-- | phpBB/viewonline.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index c27788c4c8..c7cfe64f4c 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -103,6 +103,7 @@ if (!$show_guests) FROM ' . SESSIONS_TABLE . ' WHERE session_user_id = ' . ANONYMOUS . ' AND session_time >= ' . (time() - ($config['load_online_time'] * 60)); + } else { $sql = 'SELECT COUNT(session_ip) as num_guests |