浏览代码

Merge pull request #2897 from rabuzarus/07.11-fix_login

ref_session_write: fix update for entry in the session table
pull/2901/head
Michael Vogel 4 年前
提交者 GitHub
父节点
当前提交
d33eeee336
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      include/session.php

+ 1
- 1
include/session.php 查看文件

@ -73,7 +73,7 @@ function ref_session_write($id, $data) {
$r = q("UPDATE `session`
SET `data` = '%s', `expire` = '%s'
WHERE `sid` = '%s'
AND (`data` != '%s' OR `expire` != '%s'",
AND (`data` != '%s' OR `expire` != '%s')",
dbesc($data), dbesc($expire), dbesc($id), dbesc($data), dbesc($expire));
} else {
$r = q("INSERT INTO `session`

正在加载...
取消
保存