Browse Source

Merge pull request #2897 from rabuzarus/07.11-fix_login

ref_session_write: fix update for entry in the session table
tags/3.5.1
Michael Vogel 4 years ago
committed by GitHub
parent
commit
d33eeee336
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/session.php

+ 1
- 1
include/session.php View File

@@ -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`


Loading…
Cancel
Save