diff options
author | plegall <plg@piwigo.org> | 2016-02-13 15:30:55 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-02-13 15:30:55 +0100 |
commit | bfb8b0b0fd2d85ab801e234ee2f7e5b024761919 (patch) | |
tree | 198791f075112b01eecdea6b86a9501f8d92bf85 | |
parent | 47838a23b390bfbbba38557da1b2d8b8596297d6 (diff) |
bug #383, fix the bug in dedicated function as well
-rw-r--r-- | include/functions_session.inc.php | 2 |
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); } |