small modification: we can now store any information in sessions

(cf topic:5667)

git-svn-id: http://piwigo.org/svn/trunk@1032 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2006-02-11 13:23:54 +00:00
parent da21a99873
commit 512740968f
+2 -1
View File
@@ -154,7 +154,8 @@ SELECT id
{
$query = '
UPDATE '.SESSIONS_TABLE.'
SET expiration = now()
SET expiration = now(),
data = \''.$data.'\'
WHERE id = \''.$session_id.'\'
;';
pwg_query($query);