aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-13 15:30:55 +0100
committerplegall <plg@piwigo.org>2016-02-13 15:30:55 +0100
commitbfb8b0b0fd2d85ab801e234ee2f7e5b024761919 (patch)
tree198791f075112b01eecdea6b86a9501f8d92bf85
parent47838a23b390bfbbba38557da1b2d8b8596297d6 (diff)
bug #383, fix the bug in dedicated function as well
-rw-r--r--include/functions_session.inc.php2
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);
}