mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Bertie ran of with my quotes ;-)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5706 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a8a5c91cbe
commit
a24592f9f4
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ function session_reset_keys($user_id, $user_ip)
|
||||||
$where_sql = 'session_user_id = ' . (int) $user_id;
|
$where_sql = 'session_user_id = ' . (int) $user_id;
|
||||||
$where_sql .= ($user_id == $userdata['user_id']) ? "' AND session_id <> '" . $userdata['session_id'] . "'" : '';
|
$where_sql .= ($user_id == $userdata['user_id']) ? "' AND session_id <> '" . $userdata['session_id'] . "'" : '';
|
||||||
$sql = 'DELETE FROM ' . SESSIONS_TABLE . "
|
$sql = 'DELETE FROM ' . SESSIONS_TABLE . "
|
||||||
WHERE $where_sql;
|
WHERE $where_sql";
|
||||||
if ( !$db->sql_query($sql) )
|
if ( !$db->sql_query($sql) )
|
||||||
{
|
{
|
||||||
message_die(CRITICAL_ERROR, 'Error removing user session(s)', '', __LINE__, __FILE__, $sql);
|
message_die(CRITICAL_ERROR, 'Error removing user session(s)', '', __LINE__, __FILE__, $sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue