From 692709227bc2e118aec5c669cc0e4db70146cd15 Mon Sep 17 00:00:00 2001 From: Terrorboy Date: Wed, 8 Sep 2021 22:42:47 +0900 Subject: [PATCH] Fix variable variable `$$id` in RedisHandler --- system/Session/Handlers/RedisHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Session/Handlers/RedisHandler.php b/system/Session/Handlers/RedisHandler.php index 8ed7b8c052b8..ce6e7bde5180 100644 --- a/system/Session/Handlers/RedisHandler.php +++ b/system/Session/Handlers/RedisHandler.php @@ -137,7 +137,7 @@ public function read($id) { if (isset($this->redis) && $this->lockSession($id)) { if (! isset($this->sessionID)) { - $this->sessionID = ${$id}; + $this->sessionID = $id; } $data = $this->redis->get($this->keyPrefix . $id);