mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01:00
bug #383, fix the bug in dedicated function as well
This commit is contained in:
1 parent
47838a23b3
commit
bfb8b0b0fd
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user