From 4a131ee83f2fa7b45de06cabb697d96977e08003 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 11 Apr 2006 07:31:14 +0000 Subject: [PATCH] fix call-time pass-by-reference thingy which could complain depending on php config --- includes/DatabaseOracle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DatabaseOracle.php b/includes/DatabaseOracle.php index e0763c33be..226bb4d6bd 100644 --- a/includes/DatabaseOracle.php +++ b/includes/DatabaseOracle.php @@ -658,7 +658,7 @@ class DatabaseOracle extends Database { if (is_object($value) && $value->isLOB()) { $blob = oci_new_descriptor($this->mConn, OCI_D_LOB); $bdata = $value->data(); - oci_bind_by_name($stmt, ":bobj", &$blob, -1, OCI_B_BLOB); + oci_bind_by_name($stmt, ":bobj", $blob, -1, OCI_B_BLOB); } else oci_bind_by_name($stmt, ":$k", $a[$key][$k], -1); if ($this->debug()) -- 2.20.1