From: Andrey Kutejko Date: Sat, 27 Jan 2018 14:31:03 +0000 (+0100) Subject: fix session deletion X-Git-Tag: 0.6~24 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=40d919d5cbce44dcb183a0cc8d3c1d710a23f4ac;p=ipf.git fix session deletion --- diff --git a/ipf/session/app.php b/ipf/session/app.php index 0c0ad89..61db679 100644 --- a/ipf/session/app.php +++ b/ipf/session/app.php @@ -128,7 +128,7 @@ class DBSession extends Session { $connection = self::getConnection(); $stmt = $connection->prepare('DELETE FROM session WHERE session_key = :key'); - $stmt->bindValue('key', $key, PDO::PARAM_STR); + $stmt->bindValue('key', $this->key, PDO::PARAM_STR); $stmt->execute(); $this->key = null;