aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions_session.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php
index 61a6acac9..fe43bc570 100644
--- a/include/functions_session.inc.php
+++ b/include/functions_session.inc.php
@@ -272,7 +272,7 @@ function delete_user_sessions($user_id)
$query = '
DELETE
FROM '.SESSIONS_TABLE.'
- WHERE data LIKE \'pwg_uid|i:'.(int)$user_id.';%\'
+ WHERE data LIKE \'%pwg_uid|i:'.(int)$user_id.';%\'
;';
pwg_query($query);
}