fix call-time pass-by-reference thingy which could complain depending on php config
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Apr 2006 07:31:14 +0000 (07:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Apr 2006 07:31:14 +0000 (07:31 +0000)
includes/DatabaseOracle.php

index e0763c3..226bb4d 100644 (file)
@@ -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())