mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
A couple of items that seem to be missing from CVS
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5761 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -512,7 +512,7 @@ function session_reset_keys($user_id, $user_ip)
|
||||
}
|
||||
|
||||
$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 . "
|
||||
WHERE $where_sql";
|
||||
if ( !$db->sql_query($sql) )
|
||||
|
Reference in New Issue
Block a user