bug #383, fix the bug in dedicated function as well
This commit is contained in:
parent
47838a23b3
commit
bfb8b0b0fd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue