From: Brion Vibber Date: Tue, 11 Apr 2006 07:31:14 +0000 (+0000) Subject: fix call-time pass-by-reference thingy which could complain depending on php config X-Git-Tag: 1.31.0-rc.0~57536 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=4a131ee83f2fa7b45de06cabb697d96977e08003;p=lhc%2Fweb%2Fwiklou.git fix call-time pass-by-reference thingy which could complain depending on php config --- 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())