From 40d919d5cbce44dcb183a0cc8d3c1d710a23f4ac Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sat, 27 Jan 2018 15:31:03 +0100 Subject: [PATCH] fix session deletion --- ipf/session/app.php | 2 +- 1 file changed, 1 insertion(+), 1 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; -- 2.49.0