Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7a0679 commit 776f649Copy full SHA for 776f649
src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php
@@ -871,10 +871,10 @@ private function getMergeStatement(string $sessionId, string $data, int $maxlife
871
$mergeStmt->bindParam(2, $sessionId, \PDO::PARAM_STR);
872
$mergeStmt->bindParam(3, $data, \PDO::PARAM_LOB);
873
$mergeStmt->bindValue(4, time() + $maxlifetime, \PDO::PARAM_INT);
874
- $mergeStmt->bindValue(4, time(), \PDO::PARAM_INT);
875
- $mergeStmt->bindParam(5, $data, \PDO::PARAM_LOB);
876
- $mergeStmt->bindValue(6, time() + $maxlifetime, \PDO::PARAM_INT);
877
- $mergeStmt->bindValue(6, time(), \PDO::PARAM_INT);
+ $mergeStmt->bindValue(5, time(), \PDO::PARAM_INT);
+ $mergeStmt->bindParam(6, $data, \PDO::PARAM_LOB);
+ $mergeStmt->bindValue(7, time() + $maxlifetime, \PDO::PARAM_INT);
+ $mergeStmt->bindValue(8, time(), \PDO::PARAM_INT);
878
} else {
879
$mergeStmt->bindParam(':id', $sessionId, \PDO::PARAM_STR);
880
$mergeStmt->bindParam(':data', $data, \PDO::PARAM_LOB);
0 commit comments