summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-03-23 19:32:44 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-03-23 19:32:44 +0000
commita24592f9f4a44b737a4c4507e6eec7248335d106 (patch)
tree1c601867d7a06594f350aa887442af07aa811c3a
parentBackporting a change to the forward ported......oh forget it :P (diff)
downloadphpbb-a24592f9f4a44b737a4c4507e6eec7248335d106.tar.gz
phpbb-a24592f9f4a44b737a4c4507e6eec7248335d106.tar.bz2
phpbb-a24592f9f4a44b737a4c4507e6eec7248335d106.zip
Bertie ran of with my quotes ;-)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5706 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/sessions.php2
1 files changed, 1 insertions, 1 deletions
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);