aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 885ac86a7c..3d69043e61 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -145,7 +145,7 @@ class session {
WHERE session_time >= " . ( $current_time - 60 );
$result = $db->sql_query($sql);
- $row = $db->sql_fetchrow[$result];
+ $row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
if ( intval($board_config['active_sessions']) && intval($row['sessions']) > intval($board_config['active_sessions']) )