aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 4d3ccebe6..b377fc7a6 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -407,7 +407,7 @@ DELETE FROM '.$table.'
// purge of sessions
$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);