Skip to content

Commit

Permalink
Fix variable variable $$id in RedisHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrorboy authored Sep 8, 2021
1 parent f1cdeff commit 6927092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Session/Handlers/RedisHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6927092

Please sign in to comment.