phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api/db/drivers/adodb-ibase.inc.php, 1.1.2.2


From: nomail
Subject: [Phpgroupware-cvs] api/db/drivers/adodb-ibase.inc.php, 1.1.2.2
Date: Thu, 20 May 2004 17:42:14 -0000

Update of /api/db/drivers
Modified Files:
        Branch: proposal-branch
          adodb-ibase.inc.php

date: 2004/04/16 20:59:49;  author: seek3r;  state: Exp;  lines: +5 -3

Log Message:
bringing savannah cvs back up to date with what we were doing on our private 
cvs server. We will not be doing dev from this cvs tree
=====================================================================
No syntax errors detected in -
=====================================================================
Index: api/db/drivers/adodb-ibase.inc.php
diff -u api/db/drivers/adodb-ibase.inc.php:1.1.2.1 
api/db/drivers/adodb-ibase.inc.php:1.1.2.2
--- api/db/drivers/adodb-ibase.inc.php:1.1.2.1  Sat Feb 28 06:34:11 2004
+++ api/db/drivers/adodb-ibase.inc.php  Fri Apr 16 20:59:49 2004
@@ -1,6 +1,6 @@
 <?php
 /*
-V4.20 22 Feb 2004  (c) 2000-2004 John Lim (address@hidden). All rights 
reserved.  
+V4.21 20 Mar 2004  (c) 2000-2004 John Lim (address@hidden). All rights 
reserved.  
   Released under both BSD license and Lesser GPL library license. 
   Whenever there is any discrepancy between the two licenses, 
   the BSD license will take precedence.
@@ -294,8 +294,9 @@
                        $fn = 'ibase_execute';
                        $sql = $sql[1];
                        
-                       if (is_array($iarr)) {  
-                               if (ADODB_PHPVER >= 0x4050) { // actually 4.0.4
+                       if (is_array($iarr)) {
+                               if  (ADODB_PHPVER >= 0x4050) { // actually 4.0.4
+                                       if ( !isset($iarr[0]) ) $iarr[0] = ''; 
// PHP5 compat hack
                                        $fnarr =& array_merge( array($sql) , 
$iarr);
                                        $ret = call_user_func_array($fn,$fnarr);
                                } else {
@@ -317,6 +318,7 @@
                
                        if (is_array($iarr)) {  
                                if (ADODB_PHPVER >= 0x4050) { // actually 4.0.4
+                                       if ( !isset($iarr[0]) ) $iarr[0] = ''; 
// PHP5 compat hack
                                        $fnarr =& array_merge( 
array($conn,$sql) , $iarr);
                                        $ret = call_user_func_array($fn,$fnarr);
                                } else {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]