mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
ref_session_write: fix update for entry in the session table
This commit is contained in:
parent
c1581fd432
commit
d025b83c93
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue