Browse Source

Merge remote-tracking branch 'upstream/develop' into forum-exclamation

pull/3849/head
Michael 4 years ago
parent
commit
ba6cb7bacf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/session.php

+ 1
- 1
include/session.php View File

@ -74,7 +74,7 @@ function ref_session_write($id, $data) {
if ($session_exists) {
$fields = array('data' => $data, 'expire' => $expire);
$condition = array("WHERE `sid` = ? AND (`data` != ? OR `expire` != ?)", $id, $data, $expire);
$condition = array("`sid` = ? AND (`data` != ? OR `expire` != ?)", $id, $data, $expire);
dba::update('session', $fields, $condition);
} else {
$fields = array('sid' => $id, 'expire' => $default_expire, 'data' => $data);


Loading…
Cancel
Save