[Fusionforge-commits] r7575 - in trunk/gforge/plugins/wiki/www: lib/WikiDB/adodb/drivers tests/xmlrpc

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon May 4 22:04:15 CEST 2009


Author: aljeux
Date: 2009-05-04 22:04:15 +0200 (Mon, 04 May 2009)
New Revision: 7575

Modified:
   trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php
   trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php
   trunk/gforge/plugins/wiki/www/tests/xmlrpc/interop-client.php
   trunk/gforge/plugins/wiki/www/tests/xmlrpc/xmlrpc-introspect.php
Log:
Fix php warning on rhel (references)

Modified: trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php
===================================================================
--- trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php	2009-05-04 19:57:06 UTC (rev 7574)
+++ trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php	2009-05-04 20:04:15 UTC (rev 7575)
@@ -695,7 +695,7 @@
 		} 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);
@@ -1183,4 +1183,4 @@
 		}
 	}
 }
-?>
\ No newline at end of file
+?>

Modified: trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php
===================================================================
--- trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php	2009-05-04 19:57:06 UTC (rev 7574)
+++ trunk/gforge/plugins/wiki/www/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php	2009-05-04 20:04:15 UTC (rev 7575)
@@ -246,9 +246,9 @@
    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 +295,4 @@
 		}
 	}
 }
-?>
\ No newline at end of file
+?>

Modified: trunk/gforge/plugins/wiki/www/tests/xmlrpc/interop-client.php
===================================================================
--- trunk/gforge/plugins/wiki/www/tests/xmlrpc/interop-client.php	2009-05-04 19:57:06 UTC (rev 7574)
+++ trunk/gforge/plugins/wiki/www/tests/xmlrpc/interop-client.php	2009-05-04 20:04:15 UTC (rev 7575)
@@ -171,11 +171,11 @@
                                                                                  ));
                                                                   
     $foo = "some base64 string";
-    xmlrpc_set_type(&$foo, "base64");
+    xmlrpc_set_type($foo, "base64");
     run_test($server, $debug, $output, "interopEchoTests.echoBase64", $foo);
 
     $foo="19980717T14:08:55";
-    xmlrpc_set_type(&$foo, "datetime");
+    xmlrpc_set_type($foo, "datetime");
     run_test($server, $debug, $output, "interopEchoTests.echoDate", $foo);
    
     run_no_param_test($server, $debug, $output, "interopEchoTests.noInParams");
@@ -306,4 +306,4 @@
 contains three elements: varString, varInt, and varFloat, a string, an integer, and a floating point number,
 respectively.
 
- */
\ No newline at end of file
+ */

Modified: trunk/gforge/plugins/wiki/www/tests/xmlrpc/xmlrpc-introspect.php
===================================================================
--- trunk/gforge/plugins/wiki/www/tests/xmlrpc/xmlrpc-introspect.php	2009-05-04 19:57:06 UTC (rev 7574)
+++ trunk/gforge/plugins/wiki/www/tests/xmlrpc/xmlrpc-introspect.php	2009-05-04 20:04:15 UTC (rev 7575)
@@ -17,8 +17,8 @@
    $typeList = $response[typeList];
    $methodList = $response[methodList];
 
-   usort(&$typeList, "name_cmp");
-   usort(&$methodList, "name_cmp");
+   usort($typeList, "name_cmp");
+   usort($methodList, "name_cmp");
 
    if ($methodList) {
       $buf .= "<big>Methods\n<ul>";




More information about the Fusionforge-commits mailing list