aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-01-28 15:20:47 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-01-28 15:20:47 +0000
commit98e394987f04fad65ecf3c743e4af4c92b23e932 (patch)
tree794299a1f421caf210087a6fed03b9c375ae2b09 /phpBB/includes/session.php
parent79b02d160a496a2441d62f8beabfc5ca95499863 (diff)
downloadforums-98e394987f04fad65ecf3c743e4af4c92b23e932.tar
forums-98e394987f04fad65ecf3c743e4af4c92b23e932.tar.gz
forums-98e394987f04fad65ecf3c743e4af4c92b23e932.tar.bz2
forums-98e394987f04fad65ecf3c743e4af4c92b23e932.tar.xz
forums-98e394987f04fad65ecf3c743e4af4c92b23e932.zip
nit rightfully picked
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8340 89ea8834-ac86-4346-8a33-228a782c2dd0
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 70ffd4ee08..17f6759cb8 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -653,7 +653,7 @@ class session
$sql = 'SELECT COUNT(session_id) AS sessions
FROM ' . SESSIONS_TABLE . '
WHERE session_user_id = ' . (int) $this->data['user_id'] . '
- AND session_time >= ' . (int)($this->time_now - (max($config['session_length'], $config['form_token_lifetime'])));
+ AND session_time >= ' . (int) ($this->time_now - (max($config['session_length'], $config['form_token_lifetime'])));
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);