diff options
author | nikrou <nikrou@piwigo.org> | 2010-07-05 21:18:14 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-07-05 21:18:14 +0000 |
commit | a9849aa9b661cce3563b5db1013d88091da4faa6 (patch) | |
tree | bdc081e24990f946a7ea270d65d10896532c8116 /admin/include/functions.php | |
parent | 531ee3537559c2a03220b189c17f9c96d73bafc5 (diff) |
Bug 1763 fixed : [PostgreSQL] double quote used in queries
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions.php')
-rw-r--r-- | admin/include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index 1d7fda97c..8b3861253 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -294,7 +294,7 @@ DELETE FROM '.$table.' // destruction of the user $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); |