Commit 56365fd9 authored by xjm's avatar xjm

Issue #2567835 by lussoluca, alvar0hurtad0, valthebald: Typo in SessionHandler::read() method

parent ef4ded04
......@@ -63,7 +63,7 @@ public function read($sid) {
if (!empty($sid)) {
// Read the session data from the database.
$query = $this->connection
->queryRange('SELECT session FROM {sessions} WHERE sid = :sid', 0, 1, ['sid' => Crypt::hashBase64($sid)]);
->queryRange('SELECT session FROM {sessions} WHERE sid = :sid', 0, 1, [':sid' => Crypt::hashBase64($sid)]);
$data = (string) $query->fetchField();
}
return $data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment