From bfb8b0b0fd2d85ab801e234ee2f7e5b024761919 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Feb 2016 15:30:55 +0100 Subject: bug #383, fix the bug in dedicated function as well --- include/functions_session.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); } -- cgit v1.2.3