From a24592f9f4a44b737a4c4507e6eec7248335d106 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Thu, 23 Mar 2006 19:32:44 +0000 Subject: [PATCH] Bertie ran of with my quotes ;-) git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5706 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/sessions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/sessions.php b/phpBB/includes/sessions.php index 1931179bc1..2f346f0513 100644 --- a/phpBB/includes/sessions.php +++ b/phpBB/includes/sessions.php @@ -514,7 +514,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'] . "'" : ''; $sql = 'DELETE FROM ' . SESSIONS_TABLE . " - WHERE $where_sql; + WHERE $where_sql"; if ( !$db->sql_query($sql) ) { message_die(CRITICAL_ERROR, 'Error removing user session(s)', '', __LINE__, __FILE__, $sql);