Skip to content

Commit b033c86

Browse files
committed
Fix breaks named parameters in OCI8Statement
1 parent ab88896 commit b033c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function bindValue($param, $value, int $type = ParameterType::STRING) : v
273273
*/
274274
public function bindParam($param, &$variable, int $type = ParameterType::STRING, ?int $length = null) : void
275275
{
276-
$param = $this->_paramMap[$param];
276+
$param = $this->_paramMap[$param] ?? $param;
277277

278278
if ($type === ParameterType::LARGE_OBJECT) {
279279
$lob = oci_new_descriptor($this->_dbh, OCI_D_LOB);

0 commit comments

Comments
 (0)