From 05b1e82af813528bbd25e6ea8bf0c10a36eb4fb3 Mon Sep 17 00:00:00 2001 From: vargenau Date: Thu, 10 Sep 2009 14:54:37 +0000 Subject: [PATCH] Avoid warning git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7107 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/WikiDB/adodb/drivers/adodb-oci8.inc.php | 2 +- lib/WikiDB/adodb/drivers/adodb-oracle.inc.php | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php b/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php index b2a713c03..863e052d0 100644 --- a/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php +++ b/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php @@ -695,7 +695,7 @@ NATSOFT.DOMAIN = } else if ($type == OCI_B_BLOB){ //we have to create a new Descriptor here $_blob = OCINewDescriptor($this->_connectionID, OCI_D_LOB); - $rez = OCIBindByName($stmt[1], ":".$name, &$_blob, -1, OCI_B_BLOB); + $rez = OCIBindByName($stmt[1], ":".$name, $_blob, -1, OCI_B_BLOB); $rez = $_blob; } else { if ($type !== false) $rez = OCIBindByName($stmt[1],":".$name,$var,$size,$type); diff --git a/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php b/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php index 78ec80134..1b55b0da5 100644 --- a/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php +++ b/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php @@ -244,11 +244,10 @@ class ADORecordset_oracle extends ADORecordSet { } function _fetch($ignore_fields=false) { -// should remove call by reference, but ora_fetch_into requires it in 4.0.3pl1 if ($this->fetchMode & ADODB_FETCH_ASSOC) - return @ora_fetch_into($this->_queryID,&$this->fields,ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC); + return @ora_fetch_into($this->_queryID,$this->fields,ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC); else - return @ora_fetch_into($this->_queryID,&$this->fields,ORA_FETCHINTO_NULLS); + return @ora_fetch_into($this->_queryID,$this->fields,ORA_FETCHINTO_NULLS); } /* close() only needs to be called if you are worried about using too much memory while your script @@ -295,4 +294,4 @@ class ADORecordset_oracle extends ADORecordSet { } } } -?> \ No newline at end of file +?> -- 2.45.0