aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions_session.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php
index 03a6dd155..8115c8ef9 100644
--- a/include/functions_session.inc.php
+++ b/include/functions_session.inc.php
@@ -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);